mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-25 08:37:13 +09:00
* Android build scripts: Changed default SDK level to 21; enabled specifying NDK_PLATFORM environment variable for custom SDK level; misc cleanup of Android build scripts * Update android-aar.sh I forgot to hit save on the script after making this change locally. The script works either way but by setting this value again in android-build.sh people can more easily build arch specific binaries if they want so the export is unnecessary but also rather meaningless.
6 lines
212 B
Bash
Executable File
6 lines
212 B
Bash
Executable File
#!/bin/sh
|
|
export TARGET_ARCH=armv8-a+crypto
|
|
export CFLAGS="-Os -march=${TARGET_ARCH}"
|
|
export LDFLAGS="-Wl,-z,max-page-size=16384"
|
|
ARCH=arm64 HOST_COMPILER=aarch64-linux-android "$(dirname "$0")/android-build.sh"
|