summaryrefslogtreecommitdiffhomepage
path: root/contrib
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-06-27 01:26:37 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-06-27 01:26:37 +0000
commite70c051063fb061dc69f5b2d73b6d08ed4c60e2d (patch)
tree203e8cc1ac1abab6ea92dc13f2a1e5671e6a17ab /contrib
parent230c5205c73dadf01c73094c1cd0696d49706ab7 (diff)
libiwinfo: compile with -D_GNU_SOURCE, fixes eglibc compatibility
Diffstat (limited to 'contrib')
-rw-r--r--contrib/package/iwinfo/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/package/iwinfo/Makefile b/contrib/package/iwinfo/Makefile
index d473f754c..cffa8f9be 100644
--- a/contrib/package/iwinfo/Makefile
+++ b/contrib/package/iwinfo/Makefile
@@ -45,7 +45,8 @@ IWINFO_BACKENDS := \
TARGET_CFLAGS += \
-I$(STAGING_DIR)/usr/include/libnl-tiny \
- -I$(STAGING_DIR)/usr/include
+ -I$(STAGING_DIR)/usr/include \
+ -D_GNU_SOURCE
MAKE_FLAGS += \
FPIC="$(FPIC)" \