From ff1d5f3ae8bf4143867afa185e3879ecb3674e20 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sat, 22 Aug 2015 17:21:55 +0100 Subject: [PATCH] Fix toolchain build with newer versions of GCC Signed-off-by: Michael Tremer --- lfs/gcc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lfs/gcc b/lfs/gcc index ca6f4d722d..ff8723a1e8 100644 --- a/lfs/gcc +++ b/lfs/gcc @@ -38,6 +38,9 @@ CFLAGS := $(patsubst -march=%,,$(CFLAGS)) CFLAGS := $(patsubst -mtune=%,,$(CFLAGS)) CFLAGS := $(patsubst -mfloat-abi=%,,$(CFLAGS)) +# https://bugzilla.redhat.com/show_bug.cgi?id=476370 +CFLAGS += -fgnu89-inline + # Normal build or /tools build. # ifeq "$(ROOT)" "" -- 2.39.5