From: Arne Fitzenreiter Date: Sun, 22 May 2016 08:56:57 +0000 (+0200) Subject: gcc: fix bootstrap with gcc-6 X-Git-Tag: v2.19-core103~30 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=43d91dad5166c5c345fd936095373452155dfdbd;p=ipfire-2.x.git gcc: fix bootstrap with gcc-6 Signed-off-by: Arne Fitzenreiter --- diff --git a/lfs/gcc b/lfs/gcc index 52d1daefcf..e0cd10274d 100644 --- a/lfs/gcc +++ b/lfs/gcc @@ -61,6 +61,8 @@ else ifeq "$(PASS)" "1" CFLAGS := $(patsubst -fstack-protector-strong,-fstack-protector-all,$(CFLAGS)) CXXFLAGS := $(patsubst -fstack-protector-strong,-fstack-protector-all,$(CXXFLAGS)) + CXXFLAGS += -std=gnu++98 + TARGET = $(DIR_INFO)/$(THISAPP)-tools1 EXTRA_CONFIG = \ --target=$(CROSSTARGET) \