From 70166a4fc6da2c9b5075f4ef74e7175978c01e59 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 7 Aug 2012 11:05:25 +0200 Subject: [PATCH] qemu: Fix passing CFLAGS. --- lfs/qemu | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lfs/qemu b/lfs/qemu index da2ea34ba2..d68b97d1e5 100644 --- a/lfs/qemu +++ b/lfs/qemu @@ -78,12 +78,10 @@ $(subst %,%_MD5,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) - - cd $(DIR_APP) && sed -i -e 's|CFLAGS+="-march=i486"|CFLAGS+=""|g' configure cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/qemu-0.15.0_missing_definitions_hack.patch - cd $(DIR_APP) && ./configure --prefix=/usr --sysconfdir=/etc \ - --target-list="i386-linux-user i386-softmmu arm-softmmu" + --target-list="i386-linux-user i386-softmmu arm-softmmu" \ + --extra-cflags="$(CFLAGS)" cd $(DIR_APP) && make $(MAKETUNING) cd $(DIR_APP) && make install @rm -rf $(DIR_APP) -- 2.39.5