From bd9ad13bed514990c06d2be2c4f8aff243cb4229 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Tue, 11 Sep 2018 20:54:36 +0200 Subject: [PATCH] botan: fix build on uclibc uclibc does not have sys/auxv.h so disable getauxval Fixes: - http://autobuild.buildroot.org/results/0000636025b843ab343dc45ccd29979325aff428 Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- package/botan/botan.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/botan/botan.mk b/package/botan/botan.mk index e352fab6c9..4788617d4a 100644 --- a/package/botan/botan.mk +++ b/package/botan/botan.mk @@ -40,6 +40,10 @@ else BOTAN_CONF_OPTS += --without-stack-protector endif +ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y) +BOTAN_CONF_OPTS += --without-os-feature=getauxval +endif + ifeq ($(BR2_PACKAGE_BOOST),y) BOTAN_DEPENDENCIES += boost BOTAN_CONF_OPTS += --with-boost -- 2.30.2