summaryrefslogtreecommitdiff
path: root/package/qemu/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/qemu/Makefile')
-rw-r--r--package/qemu/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/qemu/Makefile b/package/qemu/Makefile
index 3ce9d6a19..1b5fc596c 100644
--- a/package/qemu/Makefile
+++ b/package/qemu/Makefile
@@ -20,6 +20,7 @@ include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,QEMU,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
CONFIG_STYLE:= minimal
CONFIGURE_ARGS+= --host-cc=$(CC_FOR_BUILD) \
--cross-prefix=$(TARGET_CROSS) \