From: Petr Vorel Date: Fri, 2 Aug 2019 15:15:29 +0000 (+0200) Subject: package/iputils: fix build with thread support disabled X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=74cbe7cbbfb87dd7a1b1fb8a6fa2bce8a6404ded;p=buildroot.git package/iputils: fix build with thread support disabled Fixes: http://autobuild.buildroot.net/results/10652b7bf6a606f0dd802916006c44abf3e5e059 http://autobuild.buildroot.net/results/9656af1aafbd2624fb75bf5fc1dfa13b6175c10b http://autobuild.buildroot.net/results/2e170e149b293d40978e158d55dc0102315b9d86 Signed-off-by: Petr Vorel Signed-off-by: Thomas Petazzoni --- diff --git a/package/iputils/iputils.mk b/package/iputils/iputils.mk index cbcce89684..4a06581790 100644 --- a/package/iputils/iputils.mk +++ b/package/iputils/iputils.mk @@ -49,6 +49,11 @@ IPUTILS_CONF_OPTS += -DUSE_CRYPTO=none IPUTILS_CONF_OPTS += -DBUILD_NINFOD=false endif +# ninfod requires +ifneq ($(BR2_TOOLCHAIN_HAS_THREADS),y) +IPUTILS_CONF_OPTS += -DBUILD_NINFOD=false +endif + ifeq ($(BR2_SYSTEM_ENABLE_NLS),y) IPUTILS_CONF_OPTS += -DUSE_GETTEXT=true else