1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-11-19 15:05:12 +01:00

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

SVN-Revision: 19295
This commit is contained in:
Felix Fietkau 2010-01-23 18:25:04 +00:00
parent 1a13b8c358
commit 74d986abeb

@ -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)" \