aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Fabrice Fontaine <fontaine.fabrice@gmail.com>2018-09-11 20:54:36 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2018-09-12 10:39:09 +0200
commitbd9ad13bed514990c06d2be2c4f8aff243cb4229 (patch)
tree0db586bfdd116564b95c395f7af5db0aded7ca00
parentc29e68f808c2a8fd88722f82c3b8dd6901bfe80b (diff)
downloadbuildroot-bd9ad13bed514990c06d2be2c4f8aff243cb4229.tar.gz
buildroot-bd9ad13bed514990c06d2be2c4f8aff243cb4229.tar.bz2
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 <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/botan/botan.mk4
1 files changed, 4 insertions, 0 deletions
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