]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* c-opts.c (c_common_post_options): Correct test.
authorNeil Booth <neil@daikokuya.co.uk>
Wed, 14 Aug 2002 17:19:28 +0000 (17:19 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Wed, 14 Aug 2002 17:19:28 +0000 (17:19 +0000)
From-SVN: r56299

gcc/ChangeLog
gcc/c-opts.c

index fe8cf524803c6ede5f981d52c5cf3a6b0570ade4..270fc37302422f1deb8404fa4a04268684c6831c 100644 (file)
@@ -1,3 +1,7 @@
+2002-08-14  Neil Booth  <neil@daikokuya.co.uk>
+
+       * c-opts.c (c_common_post_options): Correct test.
+
 2002-08-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        * m88k.h (ASM_OUTPUT_SOURCE_FILENAME): Fix incorrect argument
index 5ba58cba57cab959b8671b07d80d283036dc1ff1..0b98308b12bbfff2555766635422f54f863a1975 100644 (file)
@@ -1330,7 +1330,7 @@ c_common_post_options ()
   if (out_fname == NULL || !strcmp (out_fname, "-"))
     out_fname = "";
 
-  if (cpp_opts->deps.style != DEPS_NONE)
+  if (cpp_opts->deps.style == DEPS_NONE)
     check_deps_environment_vars ();
 
   handle_deferred_opts ();