summaryrefslogtreecommitdiffstats
path: root/packaging/android
diff options
context:
space:
mode:
authorGravatar Jan Mulder <jlmulder@xs4all.nl>2018-11-24 10:52:22 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-01-22 13:02:39 +1300
commit7f4180a777be52780d755116e42757fe22c548f3 (patch)
tree188684417234fdd42da72dcb95ed3ae666cd10f9 /packaging/android
parentb29a6e4cd28032f1c09849df0b8c4a3c378a2a9a (diff)
downloadsubsurface-7f4180a777be52780d755116e42757fe22c548f3.tar.gz
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 <jlmulder@xs4all.nl>
Diffstat (limited to 'packaging/android')
-rwxr-xr-xpackaging/android/build.sh2
1 files changed, 1 insertions, 1 deletions
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