Explorar o código

add _GNU_SOURCE to CPPFLAGS required to include <bits/socket.h> on recent eglibc revisions

SVN-Revision: 17749
Nicolas Thill %!s(int64=16) %!d(string=hai) anos
pai
achega
08938e63d0
Modificáronse 2 ficheiros con 2 adicións e 0 borrados
  1. 1 0
      package/swconfig/Makefile
  2. 1 0
      package/wprobe/Makefile

+ 1 - 0
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) \

+ 1 - 0
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)