]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
gcc: fix bootstrap with gcc-6
authorArne Fitzenreiter <arne_f@ipfire.org>
Sun, 22 May 2016 08:56:57 +0000 (10:56 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sun, 22 May 2016 08:56:57 +0000 (10:56 +0200)
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
lfs/gcc

diff --git a/lfs/gcc b/lfs/gcc
index 52d1daefcfa28746cefae8b17ee275d9c5e47940..e0cd10274d3ab5fb93870a71c670c59d60faa054 100644 (file)
--- 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) \