From: Michael Tremer Date: Sat, 20 May 2017 08:32:51 +0000 (+0100) Subject: binutils: Remove any host optimisations in toolchain's first pass X-Git-Tag: v2.19-core112~79 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8e01581f67579888651ab39f8602ea89062d1c72;p=ipfire-2.x.git binutils: Remove any host optimisations in toolchain's first pass Signed-off-by: Michael Tremer --- diff --git a/lfs/binutils b/lfs/binutils index db59d97b42..8bf6decd94 100644 --- a/lfs/binutils +++ b/lfs/binutils @@ -46,6 +46,9 @@ ifeq "$(ROOT)" "" EXTRA_INSTALL = tooldir=/usr else ifeq "$(PASS)" "1" + CFLAGS := $(patsubst -march=%,,$(CFLAGS)) + CFLAGS := $(patsubst -mfloat-abi=%,,$(CFLAGS)) + TARGET = $(DIR_INFO)/$(THISAPP)-tools1 EXTRA_CONFIG = \ --target=$(CROSSTARGET) \