1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-20 02:25:14 -07:00
libsodium/dist-build/android-x86_64.sh
Saud Khan ff546a2d9b
Some checks are pending
CI / other-comp (push) Waiting to run
CI / tcc (push) Waiting to run
CI / zig (push) Waiting to run
CI / regular (push) Waiting to run
CI / check-globals (push) Waiting to run
CI / other-arch (push) Waiting to run
CI / android (push) Waiting to run
CodeQL scan / CodeQL-Build (push) Waiting to run
.NET Package / build-windows-msvc (push) Waiting to run
.NET Package / build-others (push) Waiting to run
.NET Package / build-apple (push) Waiting to run
.NET Package / pack (push) Blocked by required conditions
.NET Package / build-test-binaries (push) Blocked by required conditions
.NET Package / run-test-binaries-os-versions (centos:8) (push) Blocked by required conditions
.NET Package / run-test-binaries-os-versions (debian:10) (push) Blocked by required conditions
.NET Package / run-test-binaries-cross-plat (arm, /usr/arm-linux-gnueabihf/lib) (push) Blocked by required conditions
.NET Package / run-test-binaries-cross-plat (arm64, /usr/aarch64-linux-gnu/lib) (push) Blocked by required conditions
.NET Package / run-test-binaries-cross-plat (x64, /usr/lib) (push) Blocked by required conditions
Add support for Android's new 16K page sizes (#1407)
2024-09-25 21:38:20 +02:00

6 lines
230 B
Bash
Executable File

#!/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"