From cd79e2100b33c8937a878a5f07579205257d71ec Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Wed, 14 Aug 2002 17:19:28 +0000 Subject: [PATCH] * c-opts.c (c_common_post_options): Correct test. From-SVN: r56299 --- gcc/ChangeLog | 4 ++++ gcc/c-opts.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 (); -- 2.30.2