* Makefile.in (GCC_WARN_CXXFLAGS): Add -std=c++98.

From-SVN: r223312
This commit is contained in:
Jason Merrill 2015-05-18 15:21:54 -04:00 committed by Jason Merrill
parent 71c87d1c0f
commit 87734648c9
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2015-05-18 Jason Merrill <jason@redhat.com>
* Makefile.in (GCC_WARN_CXXFLAGS): Add -std=c++98.
2015-05-18 Andreas Tobler <andreast@gcc.gnu.org>
* config/freebsd-spec.h (FBSD_STARTFILE_SPEC): Add the bits to build

View File

@ -199,7 +199,7 @@ VALGRIND_DRIVER_DEFINES = @valgrind_path_defines@
.-warn = $(STRICT_WARN)
build-warn = $(STRICT_WARN)
GCC_WARN_CFLAGS = $(LOOSE_WARN) $(C_LOOSE_WARN) $($(@D)-warn) $(if $(filter-out $(STRICT_WARN),$($(@D)-warn)),,$(C_STRICT_WARN)) $(NOCOMMON_FLAG) $($@-warn)
GCC_WARN_CXXFLAGS = $(LOOSE_WARN) $($(@D)-warn) $(NOCOMMON_FLAG) $($@-warn)
GCC_WARN_CXXFLAGS = $(LOOSE_WARN) $($(@D)-warn) $(NOCOMMON_FLAG) $($@-warn) -std=c++98
# These files are to have specific diagnostics suppressed, or are not to
# be subject to -Werror: