mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-19 10:05:05 -07:00
Add support for Android's new 16K page sizes (#1407)
This commit is contained in:
parent
1012bbc380
commit
d2694fc37d
@ -1,4 +1,5 @@
|
||||
#!/bin/sh
|
||||
export TARGET_ARCH=armv7-a
|
||||
export CFLAGS="-Os -mfloat-abi=softfp -mfpu=vfpv3-d16 -mthumb -marm -march=${TARGET_ARCH}"
|
||||
export LDFLAGS="-Wl,-z,max-page-size=16384"
|
||||
ARCH=arm HOST_COMPILER=armv7a-linux-androideabi "$(dirname "$0")/android-build.sh"
|
||||
|
@ -1,4 +1,5 @@
|
||||
#!/bin/sh
|
||||
export TARGET_ARCH=armv8-a+crypto
|
||||
export CFLAGS="-Os -march=${TARGET_ARCH}"
|
||||
export LDFLAGS="-Wl,-z,max-page-size=16384"
|
||||
NDK_PLATFORM=android-21 ARCH=arm64 HOST_COMPILER=aarch64-linux-android "$(dirname "$0")/android-build.sh"
|
||||
|
@ -1,4 +1,5 @@
|
||||
#!/bin/sh
|
||||
export TARGET_ARCH=i686
|
||||
export CFLAGS="-Os -march=${TARGET_ARCH}"
|
||||
export LDFLAGS="-Wl,-z,max-page-size=16384"
|
||||
ARCH=x86 HOST_COMPILER=i686-linux-android "$(dirname "$0")/android-build.sh"
|
||||
|
@ -1,4 +1,5 @@
|
||||
#!/bin/sh
|
||||
export TARGET_ARCH=westmere
|
||||
export CFLAGS="-Os -march=${TARGET_ARCH}"
|
||||
export LDFLAGS="-Wl,-z,max-page-size=16384"
|
||||
NDK_PLATFORM=android-21 ARCH=x86_64 HOST_COMPILER=x86_64-linux-android "$(dirname "$0")/android-build.sh"
|
||||
|
Loading…
Reference in New Issue
Block a user