From 37476b34aa6d6b11f22f7014699479ee58b5caf2 Mon Sep 17 00:00:00 2001 From: Jan Mulder Date: Sat, 24 Nov 2018 10:52:22 +0100 Subject: Android build: fix openssl build, no_asm Mysteriously, openssl does not compile with clang with a sha256-armv4.S:2638:2: error: invalid instruction, did you mean: adr? The easiest way out is compiling without no_asm. This obviously lowers the bandwidth on the SSL link (as the asm code is there for performance reasons), but it has no visible performance loss in my tests. Signed-off-by: Jan Mulder --- packaging/android/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packaging') diff --git a/packaging/android/build.sh b/packaging/android/build.sh index 86729de38..09f2af8ad 100755 --- a/packaging/android/build.sh +++ b/packaging/android/build.sh @@ -272,7 +272,7 @@ if [ "$QUICK" = "" ] ; then HOSTCC=clang \ CC=clang \ ANDROID_DEV="$PREFIX" \ - bash -x ./config shared no-ssl2 no-ssl3 no-comp no-hw no-engine --openssldir="$PREFIX" + bash -x ./config shared no-ssl2 no-ssl3 no-comp no-hw no-engine no-asm --openssldir="$PREFIX" # sed -i.bak -e 's/soname=\$\$SHLIB\$\$SHLIB_SOVER\$\$SHLIB_SUFFIX/soname=\$\$SHLIB/g' Makefile.shared make depend make -- cgit v1.2.3-70-g09d2