diff options
author | Neil Booth <neilb@earthling.net> | 2000-11-07 21:35:20 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2000-11-07 21:35:20 +0000 |
commit | e3cc358167618394c43e61ef95fb485b2cb36c7f (patch) | |
tree | fae6ed23e2dcbcd62b26e24ce081875a1063c911 | |
parent | c7e05afb620a8f48c480f8940558b18ae8b6129d (diff) | |
download | gcc-e3cc358167618394c43e61ef95fb485b2cb36c7f.zip gcc-e3cc358167618394c43e61ef95fb485b2cb36c7f.tar.gz gcc-e3cc358167618394c43e61ef95fb485b2cb36c7f.tar.bz2 |
* cp/lang-specs.h: Fix -save-temps specs under USE_CPPLIB.
From-SVN: r37299
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cp/lang-specs.h | 5 |
2 files changed, 7 insertions, 2 deletions
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 <neilb@earthling.net> + + * cp/lang-specs.h: Fix -save-temps specs under USE_CPPLIB. + 2000-11-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> * 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}\ |