config BR2_PACKAGE_NDISC6
bool "ndisc6 tools"
depends on BR2_USE_MMU # fork()
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # c11
help
NDisc6 is a small collection of useful tools for IPv6
networking
TCP/IP bandwidth measurement tool (Discard and Echo client).
endif
+
+comment "ndisc6 needs a toolchain w/ gcc >= 4.7"
+ depends on BR2_USE_MMU
+ depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
NDISC6_VERSION = 1.0.4
NDISC6_SOURCE = ndisc6-$(NDISC6_VERSION).tar.bz2
NDISC6_SITE = http://www.remlab.net/files/ndisc6
-NDISC6_CONF_ENV = CC="$(TARGET_CC) -std=gnu99" LIBS=$(TARGET_NLS_LIBS)
+NDISC6_CONF_ENV = CC="$(TARGET_CC) -std=c11" LIBS=$(TARGET_NLS_LIBS)
NDISC6_CONF_OPTS = --disable-rpath --disable-suid-install
NDISC6_LICENSE = GPL-2.0 or GPL-3.0
NDISC6_LICENSE_FILES = COPYING