aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/lang-specs.h
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.demon.co.uk>2002-05-14 17:12:16 +0000
committerNeil Booth <neil@gcc.gnu.org>2002-05-14 17:12:16 +0000
commite5f5feea65f904d95c6f7aded34f8d2f447141e9 (patch)
tree2022704678991b7ecc0f132d9965f45e1fb9c533 /gcc/cp/lang-specs.h
parent317638a8098ccaf5e154f2e73c79fd14d30a25b5 (diff)
downloadgcc-e5f5feea65f904d95c6f7aded34f8d2f447141e9.zip
gcc-e5f5feea65f904d95c6f7aded34f8d2f447141e9.tar.gz
gcc-e5f5feea65f904d95c6f7aded34f8d2f447141e9.tar.bz2
gcc.c (cpp_options): Must pass -m* and -f* options to the front end even when only preprocessing.
* gcc.c (cpp_options): Must pass -m* and -f* options to the front end even when only preprocessing. (cc1_options): Remove redundant -lang-c. * tradcpp.c (main): Ignore -m options. cp: * lang-specs.h: Remove redundant -lang-c++. objc: * lang-specs.h: Similarly. From-SVN: r53460
Diffstat (limited to 'gcc/cp/lang-specs.h')
-rw-r--r--gcc/cp/lang-specs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cp/lang-specs.h b/gcc/cp/lang-specs.h
index 771ab59..0405006 100644
--- a/gcc/cp/lang-specs.h
+++ b/gcc/cp/lang-specs.h
@@ -35,13 +35,13 @@ Boston, MA 02111-1307, USA. */
{"@c++",
/* cc1plus has an integrated ISO C preprocessor. We should invoke
the external preprocessor if -save-temps is given. */
- "%{E|M|MM:cc1plus -E -lang-c++ %{!no-gcc:-D__GNUG__=%v1}\
+ "%{E|M|MM:cc1plus -E %{!no-gcc:-D__GNUG__=%v1}\
%{!Wno-deprecated:-D__DEPRECATED}\
%{!fno-exceptions:-D__EXCEPTIONS}\
-D__GXX_ABI_VERSION=100\
%{ansi:-D__STRICT_ANSI__ -trigraphs -$} %(cpp_options)}\
%{!E:%{!M:%{!MM:\
- %{save-temps:cc1plus -E -lang-c++ \
+ %{save-temps:cc1plus -E \
%{!no-gcc:-D__GNUG__=%v1}\
%{!Wno-deprecated:-D__DEPRECATED}\
%{!fno-exceptions:-D__EXCEPTIONS}\