libiwinfo: compile with -D_GNU_SOURCE, fixes eglibc compatibility
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 27 Jun 2011 01:26:37 +0000 (01:26 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 27 Jun 2011 01:26:37 +0000 (01:26 +0000)
contrib/package/iwinfo/Makefile

index d473f754c84446d88142bfccde05c8a0206daa1c..cffa8f9be18165420e5b8c8d4dbd70f5df1f3379 100644 (file)
@@ -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)" \