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

SVN-Revision: 19295
lede-17.01
Felix Fietkau 2010-01-23 18:25:04 +00:00
parent 1a13b8c358
commit 74d986abeb
1 changed files with 2 additions and 2 deletions

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