mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 15:32:33 +00:00
iproute2: fix build errors with newer versions of eglibc
SVN-Revision: 32103
This commit is contained in:
parent
93372a3e69
commit
72d33803e7
@ -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" \
|
||||
|
Loading…
Reference in New Issue
Block a user