From: Nicolas Thill Date: Sat, 26 Sep 2009 19:01:50 +0000 (+0000) Subject: add _GNU_SOURCE to CPPFLAGS required to include on recent eglibc... X-Git-Tag: reboot~22356 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=08938e63d023858f52e0df71a335a6106d9cbdfb;p=openwrt%2Fstaging%2Fpepe2k.git add _GNU_SOURCE to CPPFLAGS required to include on recent eglibc revisions SVN-Revision: 17749 --- diff --git a/package/swconfig/Makefile b/package/swconfig/Makefile index bec94a1ca0..a7bed73174 100644 --- a/package/swconfig/Makefile +++ b/package/swconfig/Makefile @@ -21,6 +21,7 @@ define Package/swconfig endef TARGET_CPPFLAGS := \ + -D_GNU_SOURCE \ -I$(STAGING_DIR)/usr/include/libnl-tiny \ -I$(LINUX_DIR)/include \ -I$(PKG_BUILD_DIR) \ diff --git a/package/wprobe/Makefile b/package/wprobe/Makefile index 02e9919aa2..536a85eb2a 100644 --- a/package/wprobe/Makefile +++ b/package/wprobe/Makefile @@ -61,6 +61,7 @@ define Build/Prepare endef TARGET_CPPFLAGS := \ + -D_GNU_SOURCE \ -I$(STAGING_DIR)/usr/include/libnl-tiny \ $(TARGET_CPPFLAGS)