1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-30 22:49:43 +02:00

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
This commit is contained in:
nbd 2010-01-23 18:25:04 +00:00
parent 75abdf0088
commit 8567540f2d

View File

@ -218,8 +218,8 @@ endef
define Build/Compile/wpad define Build/Compile/wpad
echo ` \ echo ` \
$(call Build/RunMake,hostapd,MULTICALL=1 dump_cflags); \ $(call Build/RunMake,hostapd,-s MULTICALL=1 dump_cflags); \
$(call Build/RunMake,wpa_supplicant,dump_cflags) | sed -e 's,$(TARGET_CFLAGS),,' \ $(call Build/RunMake,wpa_supplicant,-s dump_cflags) | sed -e 's,$(TARGET_CFLAGS),,' \
` > $(PKG_BUILD_DIR)/.cflags ` > $(PKG_BUILD_DIR)/.cflags
$(call Build/RunMake,hostapd, \ $(call Build/RunMake,hostapd, \
CFLAGS="$$$$(cat $(PKG_BUILD_DIR)/.cflags)" \ CFLAGS="$$$$(cat $(PKG_BUILD_DIR)/.cflags)" \