aboutsummaryrefslogtreecommitdiff
path: root/package/beecrypt
diff options
context:
space:
mode:
authorGravatar Peter Korsgaard <peter@korsgaard.com>2016-06-27 16:33:07 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2016-06-27 16:33:07 +0200
commitee525dc3892c1efd3d69af3401e4908d3217d286 (patch)
tree1e8abf37fa37ec7a6ac0ece73e22efde4ce08c8a /package/beecrypt
parentdf00b174f6c965be52d58a7911cec74de1426f8d (diff)
downloadbuildroot-ee525dc3892c1efd3d69af3401e4908d3217d286.tar.gz
buildroot-ee525dc3892c1efd3d69af3401e4908d3217d286.tar.bz2
beecrypt: arm assembly optimizations needs ARM instructions support
Fixes: http://autobuild.buildroot.net/results/980/98034ebb086987fb8fc004672164f609f5a69543/ http://autobuild.buildroot.net/results/3bd/3bdba5cf7e901f8600e567b1b0eb0866d6dfc523/ So disable it for thumb(2)-only configurations (armv7m), similar to how we do it for m68k coldfire. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/beecrypt')
-rw-r--r--package/beecrypt/beecrypt.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/beecrypt/beecrypt.mk b/package/beecrypt/beecrypt.mk
index 4fcdf439a3..bd29b3b2c8 100644
--- a/package/beecrypt/beecrypt.mk
+++ b/package/beecrypt/beecrypt.mk
@@ -22,6 +22,11 @@ ifeq ($(BR2_m68k_cf),y)
BEECRYPT_CONF_OPTS += --enable-debug
endif
+# arm asm optimization doesn't work for thumb-only
+ifeq ($(BR2_arm):$(BR2_ARM_CPU_HAS_ARM),y:)
+BEECRYPT_CONF_OPTS += --enable-debug
+endif
+
ifeq ($(BR2_PACKAGE_BEECRYPT_CPP),y)
BEECRYPT_DEPENDENCIES += icu
BEECRYPT_CONF_OPTS += --with-cplusplus