fix more issues with libnl-tiny and eglibc
authorFelix Fietkau <nbd@openwrt.org>
Mon, 4 May 2009 16:13:46 +0000 (16:13 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 4 May 2009 16:13:46 +0000 (16:13 +0000)
SVN-Revision: 15592

package/crda/Makefile
package/hostapd/Makefile
package/iw/Makefile

index 658511705242f8e66ecf44f9ef2f14a70a03efce..e53db3dfdc37c075b19fc33a399b135134d1c91a 100644 (file)
@@ -51,6 +51,7 @@ endef
 
 TARGET_CPPFLAGS := \
        -I$(STAGING_DIR)/usr/include/libnl-tiny \
+       -D_GNU_SOURCE \
        $(TARGET_CPPFLAGS)
 
 MAKE_FLAGS += \
index bd873b9b2f40ee5e69927692472139d0188526ff..6d0b18bcd929239f81ccc747256710bbe3d68200 100644 (file)
@@ -98,7 +98,8 @@ TARGET_CPPFLAGS := \
        $(TARGET_CPPFLAGS) \
        -I$(STAGING_DIR)/usr/include/madwifi \
        -I$(STAGING_DIR)/usr/include/mac80211 \
-       -DCONFIG_LIBNL20
+       -DCONFIG_LIBNL20 \
+       -D_GNU_SOURCE
 
 define Build/CompileTarget
        CFLAGS="$(TARGET_CPPFLAGS) $(TARGET_CFLAGS)" \
index 9187b55c85948511c606e3a8c333994caa48c9b7..fb10f10f2f391565de611b7d7e96faa7bf67994c 100644 (file)
@@ -37,7 +37,8 @@ TARGET_CPPFLAGS:= \
        -I$(STAGING_DIR)/usr/include/libnl-tiny \
        -I$(STAGING_DIR)/usr/include/mac80211 \
        $(TARGET_CPPFLAGS) \
-       -DCONFIG_LIBNL20
+       -DCONFIG_LIBNL20 \
+       -D_GNU_SOURCE
 
 MAKE_FLAGS += \
        CFLAGS="$(TARGET_CPPFLAGS) $(TARGET_CFLAGS)" \