mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-19 04:18:26 +02:00
add _GNU_SOURCE to CPPFLAGS required to include <bits/socket.h> on recent eglibc revisions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17749 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
aa04a43d98
commit
21adeeda4d
@ -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…
Reference in New Issue
Block a user