aboutsummaryrefslogtreecommitdiffstats
path: root/package
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
commit1b563f593525edc3901b4e3d3240dc88135c3ed3 (patch)
treec91436281240b575b310aed6cbde9272aeb4ad68 /package
parentc285e5705b9e91f344a8c00fdc1854c26d7b138d (diff)
downloadupstream-1b563f593525edc3901b4e3d3240dc88135c3ed3.tar.gz
upstream-1b563f593525edc3901b4e3d3240dc88135c3ed3.tar.bz2
upstream-1b563f593525edc3901b4e3d3240dc88135c3ed3.zip
hostapd: fix wpad compile on powerpc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19663 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-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)" \