aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.demon.co.uk>2002-03-24 21:01:00 +0000
committerNeil Booth <neil@gcc.gnu.org>2002-03-24 21:01:00 +0000
commit3ddbb8a977c1e7060088501b8fc5d07483774847 (patch)
tree93cafea773e541b0d1ffd779009946f4538c7e23 /gcc/gcc.c
parent740b77b675fc26c64e5e305992a199585e703a2d (diff)
downloadgcc-3ddbb8a977c1e7060088501b8fc5d07483774847.zip
gcc-3ddbb8a977c1e7060088501b8fc5d07483774847.tar.gz
gcc-3ddbb8a977c1e7060088501b8fc5d07483774847.tar.bz2
gcc.c (cpp_options): Pass -MD through as -MD not -M -MF.
preprocessor/3951 * gcc.c (cpp_options): Pass -MD through as -MD not -M -MF. * cppinit.c (cpp_handle_option): Set no_ouput if -MD or -MMD. (init_dependency_output): Don't make no_output decision here. From-SVN: r51272
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r--gcc/gcc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c
index 436b97b..5787b0e 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -664,8 +664,8 @@ static const char *trad_capable_cpp =
static const char *cpp_unique_options =
"%{C:%{!E:%eGNU C does not support -C without using -E}}\
%{!Q:-quiet} %{nostdinc*} %{C} %{v} %{I*} %{P} %{$} %I\
- %{MD:-M -MF %W{!o: %b.d}%W{o*:%.d%*}}\
- %{MMD:-MM -MF %W{!o: %b.d}%W{o*:%.d%*}}\
+ %{MD:-MD %W{!o: %b.d}%W{o*:%.d%*}}\
+ %{MMD:-MMD %W{!o: %b.d}%W{o*:%.d%*}}\
%{M} %{MM} %W{MF*} %{MG} %{MP} %{MQ*} %{MT*}\
%{!E:%{!M:%{!MM:%{MD|MMD:%{o*:-MQ %*}}}}}\
%{!no-gcc:-D__GNUC__=%v1 -D__GNUC_MINOR__=%v2 -D__GNUC_PATCHLEVEL__=%v3}\