1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-23 23:32:49 +02:00

iproute2: fix build errors with newer versions of eglibc

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32103 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2012-06-07 12:37:49 +00:00
parent 4ecab5fbfb
commit 27057b9163

View File

@ -63,6 +63,12 @@ define Build/Configure
> $(PKG_BUILD_DIR)/include/SNAPSHOT.h
endef
ifdef CONFIG_USE_EGLIBC
ifndef CONFIG_EGLIBC_VERSION_2_13
TARGET_CFLAGS += -DHAVE_SETNS
endif
endif
MAKE_FLAGS += \
EXTRA_CCOPTS="$(TARGET_CFLAGS) -I../include -I$(STAGING_DIR)/usr/include/libnl-tiny" \
KERNEL_INCLUDE="$(LINUX_DIR)/include" \