From: nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Sat, 23 Jan 2010 18:25:04 +0000 (+0000)
Subject: hostapd: fix wpad compile error by preventing make spam from showing up in the cflags... 
X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/8567540f2da11f330f01f665fde6897c7f967cd0

hostapd: fix wpad compile error by preventing make spam from showing up in the cflags/ldflags dump files

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19295 3c298f89-4303-0410-b956-a3cf2f4a3e73
---

diff --git a/package/hostapd/Makefile b/package/hostapd/Makefile
index 93392110a..3aec90372 100644
--- a/package/hostapd/Makefile
+++ b/package/hostapd/Makefile
@@ -218,8 +218,8 @@ endef
 
 define Build/Compile/wpad
 	echo ` \
-		$(call Build/RunMake,hostapd,MULTICALL=1 dump_cflags); \
-		$(call Build/RunMake,wpa_supplicant,dump_cflags) | sed -e 's,$(TARGET_CFLAGS),,' \
+		$(call Build/RunMake,hostapd,-s MULTICALL=1 dump_cflags); \
+		$(call Build/RunMake,wpa_supplicant,-s dump_cflags) | sed -e 's,$(TARGET_CFLAGS),,' \
 	` > $(PKG_BUILD_DIR)/.cflags
 	$(call Build/RunMake,hostapd, \
 		CFLAGS="$$$$(cat $(PKG_BUILD_DIR)/.cflags)" \