hostapd: fix wpad compile error by preventing make spam from showing up in the cflags...
authorFelix Fietkau <nbd@openwrt.org>
Sat, 23 Jan 2010 18:25:04 +0000 (18:25 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 23 Jan 2010 18:25:04 +0000 (18:25 +0000)
SVN-Revision: 19295

package/hostapd/Makefile

index 9339211..3aec903 100644 (file)
@@ -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)" \