summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2012-12-07 02:06:20 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-12-10 22:29:03 +0100
commit85736773fa06118b3a5a754f5f5bd4190298aecf (patch)
tree4a6659023ff4f4669cac54821d51a3b704ed337d /package
parent04c8ff92c3f4ca645daf44f73b40b22fc13fdc4c (diff)
downloadbuildroot-novena-85736773fa06118b3a5a754f5f5bd4190298aecf.tar.gz
buildroot-novena-85736773fa06118b3a5a754f5f5bd4190298aecf.zip
openssl: fix runtime failure on some powerpc variants
OpenSSL's assembly optimizations por PowerPC seem to be broken for at least 4xx cores. Thanks go to Jan Schunke for reporting and testing. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package')
-rw-r--r--package/openssl/openssl.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/openssl/openssl.mk b/package/openssl/openssl.mk
index 265a4fbe8..160df2e5c 100644
--- a/package/openssl/openssl.mk
+++ b/package/openssl/openssl.mk
@@ -38,8 +38,11 @@ endif
endif
endif
ifeq ($(ARCH),powerpc)
+# 4xx cores seem to have trouble with openssl's ASM optimizations
+ifeq ($(BR2_powerpc_401)$(BR2_powerpc_403)$(BR2_powerpc_405)$(BR2_powerpc_405fp)$(BR2_powerpc_440)$(BR2_powerpc_440fp),)
OPENSSL_TARGET_ARCH = ppc
endif
+endif
ifeq ($(ARCH),x86_64)
OPENSSL_TARGET_ARCH = x86_64
endif