From 6f4939d4c5624681bd7c0cbb92462f3d3fb941c3 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Thu, 6 May 2010 13:32:14 -0300 Subject: hostapd: Fix build with external toolchain Closes #1717 Signed-off-by: Gustavo Zacarias Signed-off-by: Peter Korsgaard --- CHANGES | 7 ++++--- package/hostapd/hostapd.mk | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGES b/CHANGES index 10ca888e7..f2c324b18 100644 --- a/CHANGES +++ b/CHANGES @@ -2,9 +2,9 @@ Fixes all over the tree. - Updated/fixed packages: customize, hal, mplayer, pciutils, - xdriver_xf86-video-openchrome, usb_modeswitch, usbutils, - wpa_supplicant + Updated/fixed packages: customize, hal, hostapd, mplayer, + pciutils, xdriver_xf86-video-openchrome, usb_modeswitch, + usbutils, wpa_supplicant Issues resolved (http://bugs.uclibc.org): @@ -14,6 +14,7 @@ #1525: Package hal deletes a whole /etc/rc.d directory #1699: Fix usbutils dependencies and bump #1705: Fix pciutils broken cross compiling + #1717: External toolchain fixes for hostapd & wpa_supplicant 2010.05-rc1, Released May 3rd, 2010: diff --git a/package/hostapd/hostapd.mk b/package/hostapd/hostapd.mk index 5c5c1e300..2359fd348 100644 --- a/package/hostapd/hostapd.mk +++ b/package/hostapd/hostapd.mk @@ -20,6 +20,7 @@ $(HOSTAPD_TARGET_CONFIGURE): cp $(HOSTAPD_DIR)/$(HOSTAPD_SUBDIR)/defconfig $(HOSTAPD_CONFIG) $(SED) "s/\/local//" $(HOSTAPD_DIR)/$(HOSTAPD_SUBDIR)/Makefile echo "CFLAGS += $(TARGET_CFLAGS)" >>$(HOSTAPD_CONFIG) + echo "LDFLAGS += $(TARGET_LDFLAGS)" >>$(HOSTAPD_CONFIG) echo "CC = $(TARGET_CC)" >>$(HOSTAPD_CONFIG) # IPv6 ifneq ($(BR2_INET_IPV6),y) -- cgit v1.2.3