From: Fabrice Fontaine Date: Fri, 7 Sep 2018 19:17:36 +0000 (+0200) Subject: botan: fix build on arm without neon X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4aa2399cd6a7bb2a5fe599a9ba2cba2f6d961a97;p=buildroot.git botan: fix build on arm without neon configure.py only supports --disable-neon Fixes: - http://autobuild.buildroot.org/results/26eec7e20795068613616a7312681853232ec764 Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- diff --git a/package/botan/botan.mk b/package/botan/botan.mk index 39a2c4c72b..e352fab6c9 100644 --- a/package/botan/botan.mk +++ b/package/botan/botan.mk @@ -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