mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-05-15 07:30:05 +00:00
Update arm64build-android.sh
This commit is contained in:
parent
281e5c9b80
commit
2cf778e309
@ -1 +1,9 @@
|
||||
|
||||
git submodule init && git submodule update
|
||||
wget https://dl.google.com/android/repository/android-ndk-r10e-linux-x86_64.zip -o /dev/null
|
||||
unzip android-ndk-r10e-linux-x86_64.zip
|
||||
export ANDROID_NDK_HOME=$PWD/android-ndk-r10e/
|
||||
export NDK_HOME=$PWD/android-ndk-r10e/
|
||||
CFLAGS="-Os -fdata-sections -ffunction-sections" \
|
||||
CXXFLAGS="-Os -fdata-sections -ffunction-sections -fno-exceptions -fno-rtti -fvisibility=hidden" \
|
||||
LINKFLAGS="-Wl,--gc-sections -Wl,--strip-all" \
|
||||
./waf configure -T release --64bits --android=aarch64,4.9,21 --togles --disable-warns && ./waf build
|
||||
|
||||
Loading…
Reference in New Issue
Block a user