From 756b82b7ece77c43b1ddf9057ccbd894026ababb Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 16 Feb 2010 18:28:46 +0000 Subject: [PATCH] hostapd: fix wpad compile on powerpc SVN-Revision: 19663 --- package/hostapd/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/hostapd/Makefile b/package/hostapd/Makefile index 882367235995..b68b5f9c5767 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)" \ -- 2.30.2