aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
authorMichael Meissner <meissner@gcc.gnu.org>1997-01-16 23:59:37 +0000
committerMichael Meissner <meissner@gcc.gnu.org>1997-01-16 23:59:37 +0000
commitfcc9ad83f6a6ec0cd6b364cda10ba8fe4e576e7b (patch)
tree46051b824d25d9e9e7705a36b4708da21d1aa714 /gcc/gcc.c
parent5d64469294e1b8c364e55a6b285f4282c9523d0d (diff)
downloadgcc-fcc9ad83f6a6ec0cd6b364cda10ba8fe4e576e7b.zip
gcc-fcc9ad83f6a6ec0cd6b364cda10ba8fe4e576e7b.tar.gz
gcc-fcc9ad83f6a6ec0cd6b364cda10ba8fe4e576e7b.tar.bz2
Fix typo.
From-SVN: r13504
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r--gcc/gcc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c
index fcdd899..494b8bc 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);