From 43d91dad5166c5c345fd936095373452155dfdbd Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Sun, 22 May 2016 10:56:57 +0200 Subject: [PATCH] gcc: fix bootstrap with gcc-6 Signed-off-by: Arne Fitzenreiter --- lfs/gcc | 2 ++ 1 file changed, 2 insertions(+) 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) \ -- 2.39.2