From 0f632264ec737cfa846369fc67d1b3b972453f7f Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 4 May 2009 16:13:46 +0000 Subject: fix more issues with libnl-tiny and eglibc SVN-Revision: 15592 --- package/crda/Makefile | 1 + package/hostapd/Makefile | 3 ++- package/iw/Makefile | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/package/crda/Makefile b/package/crda/Makefile index 6585117052..e53db3dfdc 100644 --- a/package/crda/Makefile +++ b/package/crda/Makefile @@ -51,6 +51,7 @@ endef TARGET_CPPFLAGS := \ -I$(STAGING_DIR)/usr/include/libnl-tiny \ + -D_GNU_SOURCE \ $(TARGET_CPPFLAGS) MAKE_FLAGS += \ diff --git a/package/hostapd/Makefile b/package/hostapd/Makefile index bd873b9b2f..6d0b18bcd9 100644 --- a/package/hostapd/Makefile +++ b/package/hostapd/Makefile @@ -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)" \ diff --git a/package/iw/Makefile b/package/iw/Makefile index 9187b55c85..fb10f10f2f 100644 --- a/package/iw/Makefile +++ b/package/iw/Makefile @@ -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)" \ -- cgit v1.2.3