From ba6e5fc393f0f843c786e949a389c8a2835eb490 Mon Sep 17 00:00:00 2001 From: Yousong Zhou Date: Thu, 21 May 2020 10:01:08 +0800 Subject: [PATCH] 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 --- utils/qemu/Makefile | 4 ++-- 1 file 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