From fcc9ad83f6a6ec0cd6b364cda10ba8fe4e576e7b Mon Sep 17 00:00:00 2001 From: Michael Meissner Date: Thu, 16 Jan 1997 23:59:37 +0000 Subject: [PATCH] Fix typo. From-SVN: r13504 --- gcc/gcc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gcc/gcc.c b/gcc/gcc.c index fcdd8995388..494b8bc8ab3 100644 --- a/gcc/gcc.c +++ b/gcc/gcc.c @@ -2268,7 +2268,7 @@ process_command (argc, argv) } temp = getenv ("LIBRARY_PATH"); - if (temp && *cross_compile != '0') + if (temp && *cross_compile == '0') { char *startp, *endp; char *nstore = (char *) alloca (strlen (temp) + 3); @@ -2300,7 +2300,7 @@ process_command (argc, argv) /* Use LPATH like LIBRARY_PATH (for the CMU build program). */ temp = getenv ("LPATH"); - if (temp && *cross_compile != '0') + if (temp && *cross_compile == '0') { char *startp, *endp; char *nstore = (char *) alloca (strlen (temp) + 3); @@ -4264,7 +4264,7 @@ main (argc, argv) /* The fact that these are done here, after reading the specs file, means that it cannot be found in these directories. But that's okay. It should never be there anyway. */ - if (*cross_compile != '0') + if (*cross_compile == '0') { #ifdef MD_EXEC_PREFIX add_prefix (&exec_prefixes, md_exec_prefix, 0, 0, NULL_PTR); -- 2.30.2