diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-02-09 07:43:13 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-02-09 07:43:13 +0000 |
commit | 29b5988f5dd81c9ea6ad50587ece6c27dd8c273b (patch) | |
tree | e01418253e3312919dad4e17b915bb43e2fd5d6a /gcc/gcc.c | |
parent | ce7c4a11a257ad7e42e97af2e67b3675cfa8dcfb (diff) | |
download | gcc-29b5988f5dd81c9ea6ad50587ece6c27dd8c273b.tar.gz |
* gcc.c (cpp_options): Delete .d files on error. Don't delete
.o files when using the -M options.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39561 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r-- | gcc/gcc.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c index 51213c1c165..3c7d0c199c1 100644 --- a/gcc/gcc.c +++ b/gcc/gcc.c @@ -593,8 +593,9 @@ static const char *cpp_options = "%{C:%{!E:%eGNU C does not support -C without using -E}}\ %{std*} %{nostdinc*}\ %{C} %{v} %{I*} %{P} %{$} %I\ - %{MD:-M -MF %{!o: %b.d}%{o*:%.d%*}} %{MMD:-MM -MF %{!o: %b.d}%{o*:%.d%*}}\ - %{M} %{MM} %{MF*} %{MG} %{MP} %{MQ*} %{MT*} %{M|MD|MM|MMD:%{o*:-MQ %*}}\ + %{MD:-M -MF %W{!o: %b.d}%W{o*:%.d%*}}\ + %{MMD:-MM -MF %W{!o: %b.d}%W{o*:%.d%*}}\ + %{M} %{MM} %W{MF*} %{MG} %{MP} %{MQ*} %{MT*} %{M|MD|MM|MMD:%{o*:-MQ %*}}\ %{!no-gcc:-D__GNUC__=%v1 -D__GNUC_MINOR__=%v2 -D__GNUC_PATCHLEVEL__=%v3}\ %{!undef:%{!ansi:%{!std=*:%p}%{std=gnu*:%p}} %P} %{trigraphs}\ %c %{Os:-D__OPTIMIZE_SIZE__} %{O*:%{!O0:-D__OPTIMIZE__}}\ @@ -606,7 +607,7 @@ static const char *cpp_options = %{fleading-underscore} %{fno-leading-underscore}\ %{fno-operator-names} %{ftabstop=*} %{remap}\ %{g3:-dD} %{W*} %{w} %{pedantic*} %{H} %{d*} %C %{D*&U*&A*} %{i*} %Z %i\ - %{E:%W{o*}}%{M:%W{o*}}%{MM:%W{o*}}"; + %{E:%{!M*:%W{o*}}}"; /* NB: This is shared amongst all front-ends. */ static const char *cc1_options = |