diff options
author | Nathan Sidwell <sidwell@codesourcery.com> | 2000-01-13 15:37:03 +0000 |
---|---|---|
committer | Nathan Sidwell <sidwell@codesourcery.com> | 2000-01-13 15:37:03 +0000 |
commit | 59f98ab7abb3bc872e2004120df8009a40454454 (patch) | |
tree | 93b8754409bada92103ca12ae9d99a680949af5d /gcc/cp/g++spec.c | |
parent | e074a457f7288c392184bce1c9339e77e4c7236f (diff) |
* g++spec.c (lang_specific_driver): Add -fnew-abi if
ENABLE_NEW_GXX_ABI defined.
* Make-lang.in (tinfo.o, tinfo2.o, exception.o, new.o,
opnew.o, opnewnt.o, opvnew.o, opvnewnt.o, opdel.o, opdelnt.o,
opvdel.o, opvdelnt.o): Use GXX_ABI_FLAG switch.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@31388 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/g++spec.c')
-rw-r--r-- | gcc/cp/g++spec.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gcc/cp/g++spec.c b/gcc/cp/g++spec.c index 239390d9c2d..ca1ab68c06f 100644 --- a/gcc/cp/g++spec.c +++ b/gcc/cp/g++spec.c @@ -1,5 +1,5 @@ /* Specific flags and argument handling of the C++ front-end. - Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc. + Copyright (C) 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc. This file is part of GNU CC. @@ -95,6 +95,10 @@ lang_specific_driver (in_argc, in_argv, in_added_libraries) /* The total number of arguments with the new stuff. */ int num_args = 1; +#if ENABLE_NEW_GXX_ABI + added++; +#endif + argc = *in_argc; argv = *in_argv; added_libraries = *in_added_libraries; @@ -235,6 +239,10 @@ lang_specific_driver (in_argc, in_argv, in_added_libraries) } } +#if ENABLE_NEW_GXX_ABI + arglist[j++] = "-fnew-abi"; +#endif + /* Add `-lstdc++' if we haven't already done so. */ if (library) { |