From: Yousong Zhou Date: Thu, 21 May 2020 02:01:08 +0000 (+0800) Subject: qemu: filter out configure args with predefined macros X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=ba6e5fc393f0f843c786e949a389c8a2835eb490;p=openwrt-packages.git qemu: filter out configure args with predefined macros Reported-by: https://github.com/openwrt/packages/commit/a3033406eae94105b50ea9d57ea4a032b34a87a1#commitcomment-39321758 Suggested-by: Lucian Cristian Signed-off-by: Yousong Zhou --- diff --git a/utils/qemu/Makefile b/utils/qemu/Makefile index a816edfd6..edefa5831 100644 --- a/utils/qemu/Makefile +++ b/utils/qemu/Makefile @@ -276,8 +276,8 @@ CONFIGURE_ARGS:=$(filter-out \ --program-prefix=% \ --program-suffix=% \ --exec-prefix=% \ - --disable-ipv6 \ - --disable-nls \ + $(DISABLE_NLS) \ + $(DISABLE_IPV6) \ , $(CONFIGURE_ARGS)) # Tell build system of qemu to not add _FORTIFY_SOURCE options and let the base