aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDave Brolley <brolley@cygnus.com>1998-12-16 13:38:14 +0000
committerDave Brolley <brolley@gcc.gnu.org>1998-12-16 08:38:14 -0500
commit6163a7b2f2849cb163fa3381baab9da81c94ac27 (patch)
tree314f4de1a9831f5c1cfe6ecdc4a2485b375437c4 /gcc
parented9c93bf44d4889dd9be8d05e51fd5ab57c2e207 (diff)
downloadgcc-6163a7b2f2849cb163fa3381baab9da81c94ac27.zip
gcc-6163a7b2f2849cb163fa3381baab9da81c94ac27.tar.gz
gcc-6163a7b2f2849cb163fa3381baab9da81c94ac27.tar.bz2
lang-specs.h (default_compilers): Pass -MD, -MMD and -MG to cc1plus if configured with cpplib.
Wed Dec 16 16:33:58 1998 Dave Brolley <brolley@cygnus.com> * lang-specs.h (default_compilers): Pass -MD, -MMD and -MG to cc1plus if configured with cpplib. From-SVN: r24342
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/ChangeLog5
-rw-r--r--gcc/cp/lang-specs.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 7955e4c..b994d6e 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,8 @@
+Wed Dec 16 16:33:58 1998 Dave Brolley <brolley@cygnus.com>
+
+ * lang-specs.h (default_compilers): Pass -MD, -MMD and -MG to cc1plus
+ if configured with cpplib.
+
1998-12-15 Mark Mitchell <mark@markmitchell.com>
* decl.c (poplevel): Make sure ns_binding is initialized.
diff --git a/gcc/cp/lang-specs.h b/gcc/cp/lang-specs.h
index 8e3cce0..b742fc2 100644
--- a/gcc/cp/lang-specs.h
+++ b/gcc/cp/lang-specs.h
@@ -41,6 +41,7 @@ Boston, MA 02111-1307, USA. */
%i %{E:%W{o*}}%{M:%W{o*}}%{MM:%W{o*}}\n}\
%{!E:%{!M:%{!MM:cc1plus %i %1 %2\
-lang-c++ %{nostdinc*} %{C} %{A*} %{I*} %{P} %I\
+ %{MD:-MD %b.d} %{MMD:-MMD %b.d} %{MG}\
-undef -D__GNUC__=%v1 -D__GNUG__=%v1 -D__cplusplus\
-D__GNUC_MINOR__=%v2\
%{ansi:-trigraphs -D__STRICT_ANSI__} %{!undef:%{!ansi:%p} %P}\