add _GNU_SOURCE to CPPFLAGS required to include <bits/socket.h> on recent eglibc...
authorNicolas Thill <nico@openwrt.org>
Sat, 26 Sep 2009 19:01:50 +0000 (19:01 +0000)
committerNicolas Thill <nico@openwrt.org>
Sat, 26 Sep 2009 19:01:50 +0000 (19:01 +0000)
SVN-Revision: 17749

package/swconfig/Makefile
package/wprobe/Makefile

index bec94a1..a7bed73 100644 (file)
@@ -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) \
index 02e9919..536a85e 100644 (file)
@@ -61,6 +61,7 @@ define Build/Prepare
 endef
 
 TARGET_CPPFLAGS := \
+       -D_GNU_SOURCE \
        -I$(STAGING_DIR)/usr/include/libnl-tiny \
        $(TARGET_CPPFLAGS)