Commit 58e31b83 by Neil Booth Committed by Neil Booth

gcc.c (cpp_options): Delete .d files on error.

        * gcc.c (cpp_options): Delete .d files on error.  Don't delete
        .o files when using the -M options.

From-SVN: r39561
parent 7c6b0e92
2001-02-09 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.c (cpp_options): Delete .d files on error. Don't delete
.o files when using the -M options.
2001-02-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> 2001-02-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
David Edelsohn <edelsohn@gnu.org> David Edelsohn <edelsohn@gnu.org>
......
...@@ -593,8 +593,9 @@ static const char *cpp_options = ...@@ -593,8 +593,9 @@ static const char *cpp_options =
"%{C:%{!E:%eGNU C does not support -C without using -E}}\ "%{C:%{!E:%eGNU C does not support -C without using -E}}\
%{std*} %{nostdinc*}\ %{std*} %{nostdinc*}\
%{C} %{v} %{I*} %{P} %{$} %I\ %{C} %{v} %{I*} %{P} %{$} %I\
%{MD:-M -MF %{!o: %b.d}%{o*:%.d%*}} %{MMD:-MM -MF %{!o: %b.d}%{o*:%.d%*}}\ %{MD:-M -MF %W{!o: %b.d}%W{o*:%.d%*}}\
%{M} %{MM} %{MF*} %{MG} %{MP} %{MQ*} %{MT*} %{M|MD|MM|MMD:%{o*:-MQ %*}}\ %{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}\ %{!no-gcc:-D__GNUC__=%v1 -D__GNUC_MINOR__=%v2 -D__GNUC_PATCHLEVEL__=%v3}\
%{!undef:%{!ansi:%{!std=*:%p}%{std=gnu*:%p}} %P} %{trigraphs}\ %{!undef:%{!ansi:%{!std=*:%p}%{std=gnu*:%p}} %P} %{trigraphs}\
%c %{Os:-D__OPTIMIZE_SIZE__} %{O*:%{!O0:-D__OPTIMIZE__}}\ %c %{Os:-D__OPTIMIZE_SIZE__} %{O*:%{!O0:-D__OPTIMIZE__}}\
...@@ -606,7 +607,7 @@ static const char *cpp_options = ...@@ -606,7 +607,7 @@ static const char *cpp_options =
%{fleading-underscore} %{fno-leading-underscore}\ %{fleading-underscore} %{fno-leading-underscore}\
%{fno-operator-names} %{ftabstop=*} %{remap}\ %{fno-operator-names} %{ftabstop=*} %{remap}\
%{g3:-dD} %{W*} %{w} %{pedantic*} %{H} %{d*} %C %{D*&U*&A*} %{i*} %Z %i\ %{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. */ /* NB: This is shared amongst all front-ends. */
static const char *cc1_options = static const char *cc1_options =
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment