aboutsummaryrefslogtreecommitdiffstats
path: root/package/hostapd/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-02-16 18:28:46 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-02-16 18:28:46 +0000
commit756b82b7ece77c43b1ddf9057ccbd894026ababb (patch)
tree4040ee0cda7b0d14e78c53f67cafd0286d458b88 /package/hostapd/Makefile
parent002a278972eea1d96bc84647fce371867489b29d (diff)
downloadupstream-756b82b7ece77c43b1ddf9057ccbd894026ababb.tar.gz
upstream-756b82b7ece77c43b1ddf9057ccbd894026ababb.tar.bz2
upstream-756b82b7ece77c43b1ddf9057ccbd894026ababb.zip
hostapd: fix wpad compile on powerpc
SVN-Revision: 19663
Diffstat (limited to 'package/hostapd/Makefile')
-rw-r--r--package/hostapd/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/hostapd/Makefile b/package/hostapd/Makefile
index 8823672359..b68b5f9c57 100644
--- a/package/hostapd/Makefile
+++ b/package/hostapd/Makefile
@@ -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)" \