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

SVN-Revision: 17749
lede-17.01
Nicolas Thill 2009-09-26 19:01:50 +00:00
parent f859299d85
commit 08938e63d0
2 changed files with 2 additions and 0 deletions

View 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) \

View File

@ -61,6 +61,7 @@ define Build/Prepare
endef
TARGET_CPPFLAGS := \
-D_GNU_SOURCE \
-I$(STAGING_DIR)/usr/include/libnl-tiny \
$(TARGET_CPPFLAGS)