]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/binutils
Don't compile first pass of toolchain with -march=...
[ipfire-2.x.git] / lfs / binutils
index 104a2a7f89dba3b5623858f0b8ee91c8eb73a1d9..9f687ad561488f3f2ca3c2979986e7c71c64e462 100644 (file)
@@ -43,6 +43,7 @@ ifeq "$(ROOT)" ""
   EXTRA_INSTALL = tooldir=/usr
 else
 ifeq "$(PASS)" "1"
+  CFLAGS := $(patsubst -march=%,,$(CFLAGS))
   TARGET = $(DIR_INFO)/$(THISAPP)-tools1
   EXTRA_CONFIG = \
        --target=$(CROSSTARGET) \