From: nbd Date: Tue, 16 Feb 2010 18:28:46 +0000 (+0000) Subject: hostapd: fix wpad compile on powerpc X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=cf0d08e56e42a3c4c6300ce8c2ad86f337220b32;p=10.03%2Fopenwrt.git hostapd: fix wpad compile on powerpc git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19663 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/package/hostapd/Makefile b/package/hostapd/Makefile index 882367235..b68b5f9c5 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)" \