From: nico Date: Sat, 26 Sep 2009 19:01:50 +0000 (+0000) Subject: add _GNU_SOURCE to CPPFLAGS required to include on recent eglibc... X-Git-Url: http://git.ozo.com/?a=commitdiff_plain;h=21adeeda4da4c10a70f44e2cf1832e221483f1bf;p=openwrt-10.03%2F.git add _GNU_SOURCE to CPPFLAGS required to include on recent eglibc revisions git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17749 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/package/swconfig/Makefile b/package/swconfig/Makefile index bec94a1ca..a7bed7317 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 02e9919aa..536a85eb2 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)