aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.demon.co.uk>2001-01-08 18:52:09 +0000
committerNeil Booth <neil@gcc.gnu.org>2001-01-08 18:52:09 +0000
commit674c3b405ce43dae5f198aa418c2349a4988f429 (patch)
treebe0c125ea95f22783d35ea61f07fc9f89995ba26 /gcc/gcc.c
parent1d8939ef8a86ddde48263160eb6b70a8f991d355 (diff)
downloadgcc-674c3b405ce43dae5f198aa418c2349a4988f429.zip
gcc-674c3b405ce43dae5f198aa418c2349a4988f429.tar.gz
gcc-674c3b405ce43dae5f198aa418c2349a4988f429.tar.bz2
cppinit.c (init): Rename init_library.
* cppinit.c (init): Rename init_library. (cpp_create_reader): Update. * gcc.c (cpp_options): If -o given, use it as the target of any -M options. From-SVN: r38805
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r--gcc/gcc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c
index 7a3c364..d17cb13 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -587,6 +587,7 @@ static const char *cpp_options =
%{std*} %{nostdinc*}\
%{C} %{v} %{I*} %{P} %{$} %I\
%{M} %{MM} %{MD:-M -MF %b.d} %{MMD:-MM -MF %b.d} %{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__}}\