Skip to contentSkip to conversation

botan: fix build on arm without neon

PATCH New Fabrice Fontaine 2 participants 2 messages Sep 7, 2018 – Sep 8, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 botan: fix build on arm without neon

configure.py only supports --disable-neon

Fixes:
- http://autobuild.buildroot.org/results/26eec7e20795068613616a7312681853232ec764

---
 package/botan/botan.mk | 4 ++++
 1 file changed, 4 insertions(+)
package/botan/botan.mk +4 -0
index 39a2c4c72b..e352fab6c9 100644
@@ -74,6 +74,10 @@ ifeq ($(BR2_POWERPC_CPU_HAS_ALTIVEC),)
 BOTAN_CONF_OPTS += --disable-altivec
 endif
 
+ifeq ($(BR2_ARM_CPU_HAS_NEON),)
+BOTAN_CONF_OPTS += --disable-neon
+endif
+
 define BOTAN_CONFIGURE_CMDS
 	(cd $(@D); $(TARGET_MAKE_ENV) ./configure.py $(BOTAN_CONF_OPTS))
 endef
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 botan: fix build on arm without neon

Hello,

Quoted 9 lines · Fabrice Fontaine

configure.py only supports --disable-neon

Fixes:
- http://autobuild.buildroot.org/results/26eec7e20795068613616a7312681853232ec764

---
 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