diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fe8cf524803..270fc373024 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2002-08-14 Neil Booth + + * c-opts.c (c_common_post_options): Correct test. + 2002-08-14 Kaveh R. Ghazi * m88k.h (ASM_OUTPUT_SOURCE_FILENAME): Fix incorrect argument diff --git a/gcc/c-opts.c b/gcc/c-opts.c index 5ba58cba57c..0b98308b12b 100644 --- a/gcc/c-opts.c +++ b/gcc/c-opts.c @@ -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 ();