mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2026-03-06 22:49:29 -05:00
add _GNU_SOURCE to CPPFLAGS required to include <bits/socket.h> on recent eglibc revisions
SVN-Revision: 17749
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user