diff options
author | Michael Matz <matz@gcc.gnu.org> | 2011-11-03 17:17:07 +0000 |
---|---|---|
committer | Michael Matz <matz@gcc.gnu.org> | 2011-11-03 17:17:07 +0000 |
commit | e941124721742b4972785960645a57178fabb71c (patch) | |
tree | 4343503ebcbfe34ff7e06478572708b57fff1bf4 /libcpp/Makefile.in | |
parent | af8d2409beff727cf7d29025c09abded080d4cf7 (diff) |
re PR bootstrap/50857 (The compiler is built with exceptions and RTTI enabled)
libcpp/
PR bootstrap/50857
* configure.ac: Check for -fno-exceptions -fno-rtti.
* configure: Regenerate.
* Makefile.in (NOEXCEPTION_FLAGS): New flag.
(ALL_CXXFLAGS): Use it.
gcc/
PR bootstrap/50857
* configure.ac: Check for -fno-exceptions -fno-rtti.
* configure: Regenerate.
* Makefile.in (NOEXCEPTION_FLAGS): New flag.
(ALL_CXXFLAGS): Use it.
From-SVN: r180833
Diffstat (limited to 'libcpp/Makefile.in')
-rw-r--r-- | libcpp/Makefile.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libcpp/Makefile.in b/libcpp/Makefile.in index 33c44b542df..d6df46d62c9 100644 --- a/libcpp/Makefile.in +++ b/libcpp/Makefile.in @@ -56,6 +56,7 @@ XGETTEXT = @XGETTEXT@ CCDEPMODE = @CCDEPMODE@ CXXDEPMODE = @CXXDEPMODE@ DEPDIR = @DEPDIR@ +NOEXCEPTION_FLAGS = @noexception_flags@ datarootdir = @datarootdir@ datadir = @datadir@ @@ -72,7 +73,8 @@ INCLUDES = -I$(srcdir) -I. -I$(srcdir)/../include @INCINTL@ \ -I$(srcdir)/include ALL_CFLAGS = $(CFLAGS) $(WARN_CFLAGS) $(INCLUDES) $(CPPFLAGS) -ALL_CXXFLAGS = $(CXXFLAGS) $(WARN_CXXFLAGS) $(INCLUDES) $(CPPFLAGS) +ALL_CXXFLAGS = $(CXXFLAGS) $(WARN_CXXFLAGS) $(NOEXCEPTION_FLAGS) $(INCLUDES) \ + $(CPPFLAGS) # The name of the compiler to use. ENABLE_BUILD_WITH_CXX = @ENABLE_BUILD_WITH_CXX@ |