summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/botan/botan.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/botan/botan.mk b/package/botan/botan.mk
index 2f2415170c..e42bb61cbe 100644
--- a/package/botan/botan.mk
+++ b/package/botan/botan.mk
@@ -43,6 +43,12 @@ BOTAN_DEPENDENCIES += zlib
BOTAN_CONF_OPTS += --with-zlib
endif
+ifeq ($(BR2_POWERPC_CPU_HAS_ALTIVEC),y)
+BOTAN_CONF_OPTS += --enable-altivec
+else
+BOTAN_CONF_OPTS += --disable-altivec
+endif
+
define BOTAN_CONFIGURE_CMDS
(cd $(@D); $(TARGET_MAKE_ENV) ./configure.py $(BOTAN_CONF_OPTS))
endef
OpenPOWER on IntegriCloud