[Buildroot] [PATCH/next 1/1] package/botan: fix altivec support

Bernd Kuhls bernd.kuhls at t-online.de
Sun Aug 26 11:29:59 UTC 2018


configure.py only supports --disable-altivec.

Fixes
http://autobuild.buildroot.net/results/318/3187afa3eea77e5de0e0fe14717bfc080da08117/

Added license hash URL.

Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
---
 package/botan/botan.hash | 2 +-
 package/botan/botan.mk   | 4 +---
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/package/botan/botan.hash b/package/botan/botan.hash
index df804bc1ef..eeb94145b9 100644
--- a/package/botan/botan.hash
+++ b/package/botan/botan.hash
@@ -1,4 +1,4 @@
-# Locally calculated after checking pgp signature
+# From https://botan.randombit.net/releases/sha256sums.txt
 sha256 e42df91556317588c6ca0e41bf796f9bd5ec5c70e0668e6c97c608c697c24a90  Botan-2.7.0.tgz
 # Locally computed
 sha256 40cfd35a9e34d18463806f57553c968fdbaf254a2e2a636d1d8e32ff6b698495  license.txt
diff --git a/package/botan/botan.mk b/package/botan/botan.mk
index eb817f62d9..39a2c4c72b 100644
--- a/package/botan/botan.mk
+++ b/package/botan/botan.mk
@@ -70,9 +70,7 @@ BOTAN_DEPENDENCIES += zlib
 BOTAN_CONF_OPTS += --with-zlib
 endif
 
-ifeq ($(BR2_POWERPC_CPU_HAS_ALTIVEC),y)
-BOTAN_CONF_OPTS += --enable-altivec
-else
+ifeq ($(BR2_POWERPC_CPU_HAS_ALTIVEC),)
 BOTAN_CONF_OPTS += --disable-altivec
 endif
 
-- 
2.18.0



More information about the buildroot mailing list