hostapd: fix wpad compile on powerpc

SVN-Revision: 19663
This commit is contained in:
Felix Fietkau 2010-02-16 18:28:46 +00:00
parent 002a278972
commit 756b82b7ec

View File

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