hostapd: fix wpad compile on powerpc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19663 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
c285e5705b
commit
1b563f5935
|
@ -224,7 +224,8 @@ endef
|
||||||
define Build/Compile/wpad
|
define Build/Compile/wpad
|
||||||
echo ` \
|
echo ` \
|
||||||
$(call Build/RunMake,hostapd,-s MULTICALL=1 dump_cflags); \
|
$(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
|
` > $(PKG_BUILD_DIR)/.cflags
|
||||||
$(call Build/RunMake,hostapd, \
|
$(call Build/RunMake,hostapd, \
|
||||||
CFLAGS="$$$$(cat $(PKG_BUILD_DIR)/.cflags)" \
|
CFLAGS="$$$$(cat $(PKG_BUILD_DIR)/.cflags)" \
|
||||||
|
|
Loading…
Reference in New Issue