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

SVN-Revision: 17749
v19.07.3_mercusys_ac12_duma
Nicolas Thill 15 years ago
parent f859299d85
commit 08938e63d0

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

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

Loading…
Cancel
Save