Skip to contentSkip to conversation

botan: fix build on uclibc

PATCH New Fabrice Fontaine 2 participants 2 messages Sep 11, 2018 – Sep 12, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 botan: fix build on uclibc

uclibc does not have sys/auxv.h so disable getauxval

Fixes:
- http://autobuild.buildroot.org/results/0000636025b843ab343dc45ccd29979325aff428

---
 package/botan/botan.mk | 4 ++++
 1 file changed, 4 insertions(+)
package/botan/botan.mk +4 -0
index e352fab6c9..4788617d4a 100644
@@ -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
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 botan: fix build on uclibc

Hello,

Quoted 9 lines · Fabrice Fontaine

uclibc does not have sys/auxv.h so disable getauxval

Fixes:
- http://autobuild.buildroot.org/results/0000636025b843ab343dc45ccd29979325aff428

---
 package/botan/botan.mk | 4 ++++
 1 file changed, 4 insertions(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com