summaryrefslogtreecommitdiff
path: root/package/swconfig
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2009-09-26 19:01:50 +0000
committerNicolas Thill <nico@openwrt.org>2009-09-26 19:01:50 +0000
commit08938e63d023858f52e0df71a335a6106d9cbdfb (patch)
treecd9df016e4376de1b244336ccbc11e003bba160b /package/swconfig
parentf859299d85abafdaa2194935d1a0a3ca08236f07 (diff)
downloadmtk-20170518-08938e63d023858f52e0df71a335a6106d9cbdfb.zip
mtk-20170518-08938e63d023858f52e0df71a335a6106d9cbdfb.tar.gz
mtk-20170518-08938e63d023858f52e0df71a335a6106d9cbdfb.tar.bz2
add _GNU_SOURCE to CPPFLAGS required to include <bits/socket.h> on recent eglibc revisions
SVN-Revision: 17749
Diffstat (limited to 'package/swconfig')
-rw-r--r--package/swconfig/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/swconfig/Makefile b/package/swconfig/Makefile
index bec94a1..a7bed73 100644
--- a/package/swconfig/Makefile
+++ b/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) \