summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYousong Zhou <yszhou4tech@gmail.com>2020-05-21 10:01:08 +0800
committerYousong Zhou <yszhou4tech@gmail.com>2020-05-21 11:16:07 +0800
commitba6e5fc393f0f843c786e949a389c8a2835eb490 (patch)
tree4137f39a1c9699a618909deb649c73dba063607b
parenta75391575b268b379e6bc552b703dc17a76f402f (diff)
qemu: filter out configure args with predefined macros
Reported-by: https://github.com/openwrt/packages/commit/a3033406eae94105b50ea9d57ea4a032b34a87a1#commitcomment-39321758 Suggested-by: Lucian Cristian <lucian.cristian@gmail.com> Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
-rw-r--r--utils/qemu/Makefile4
1 files changed, 2 insertions, 2 deletions
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