From e3cc358167618394c43e61ef95fb485b2cb36c7f Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Tue, 7 Nov 2000 21:35:20 +0000 Subject: * cp/lang-specs.h: Fix -save-temps specs under USE_CPPLIB. From-SVN: r37299 --- gcc/ChangeLog | 4 ++++ gcc/cp/lang-specs.h | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'gcc') diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a4465b2..95b0f21 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2000-11-07 Neil Booth + + * cp/lang-specs.h: Fix -save-temps specs under USE_CPPLIB. + 2000-11-07 Kaveh R. Ghazi * c-common.c (combine_strings): Only warn about long strings for C. diff --git a/gcc/cp/lang-specs.h b/gcc/cp/lang-specs.h index 141655c..99854a7 100644 --- a/gcc/cp/lang-specs.h +++ b/gcc/cp/lang-specs.h @@ -38,11 +38,12 @@ Boston, MA 02111-1307, USA. */ %{!E:%{!M:%{!MM:\ %{save-temps:cpp0 -lang-c++ %{ansi:-trigraphs -$ -D__STRICT_ANSI__}\ %(cpp_options) %b.ii \n}\ - cc1plus %{save-temps: -fpreprocessed %b.ii} -lang-c++\ + cc1plus %{save-temps:-fpreprocessed %b.ii}\ + %{!save-temps:%(cpp_options)} -lang-c++\ %{!no-gcc:-D__GNUG__=%v1}\ %{fnew-abi:-D__GXX_ABI_VERSION=100}\ %{ansi:-trigraphs -$ -D__STRICT_ANSI__}\ - %(cpp_options) %(cc1_options) %{+e*}\ + %(cc1_options) %{+e*}\ %{!fsyntax-only:%(invoke_as)}}}}" #else /* ! USE_CPPLIB */ "cpp0 -lang-c++ %{!no-gcc:-D__GNUG__=%v1}\ -- cgit v1.1