From 87734648c9b07cb1c1c30b1d77a38d4482f61e37 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Mon, 18 May 2015 15:21:54 -0400 Subject: [PATCH] * Makefile.in (GCC_WARN_CXXFLAGS): Add -std=c++98. From-SVN: r223312 --- gcc/ChangeLog | 4 ++++ gcc/Makefile.in | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c00a8789d451..7b558922bd7d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2015-05-18 Jason Merrill + + * Makefile.in (GCC_WARN_CXXFLAGS): Add -std=c++98. + 2015-05-18 Andreas Tobler * config/freebsd-spec.h (FBSD_STARTFILE_SPEC): Add the bits to build diff --git a/gcc/Makefile.in b/gcc/Makefile.in index ab9b637701f9..97b7dff3331a 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -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: