aboutsummaryrefslogtreecommitdiffstats
path: root/make/build.xml
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2015-07-13 13:30:41 +0200
committerSven Gothel <[email protected]>2015-07-13 13:30:41 +0200
commit25c8ae691443027f02ffeafe92b15f2ba466d529 (patch)
treec7d7f1f3b783b57974d256a5e52a74213aa1d215 /make/build.xml
parent737c9b06c1d244ee7693f29851d07745b731b0c5 (diff)
Fix Android ARM64 Support
- See openal-soft commit 2e8f6a1704dfa0048dbfc2f826847a4aaea3cbe8 - export HOST_ARCH
Diffstat (limited to 'make/build.xml')
-rwxr-xr-xmake/build.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/make/build.xml b/make/build.xml
index a6a240c..e44f88b 100755
--- a/make/build.xml
+++ b/make/build.xml
@@ -491,6 +491,8 @@
<arg value="../../openal-soft"/>
<arg value="-DCMAKE_TOOLCHAIN_FILE=../../openal-soft/cmake/toolchain.android.cmake"/>
<arg value="-DANDROID_API_LEVEL=${android.version}"/>
+ <arg value="-DANDROID_TOOLCHAIN_SYSTEM=${env.HOST_ARCH}"/>
+ <arg value="-DARM32_LINKER_OPTS:STRING=-Wl,--fix-cortex-a8"/>
</exec>
<exec dir="${build}/openal-soft" executable="make" logError="true" failonerror="false" failifexecutionfails="false" />
</target>
@@ -505,8 +507,9 @@
<arg value="../../openal-soft"/>
<arg value="-DCMAKE_TOOLCHAIN_FILE=../../openal-soft/cmake/toolchain.android.cmake"/>
<arg value="-DANDROID_API_LEVEL=${android.version}"/>
- <arg value="-DNDK_CPU_ARM64=1"/>
<arg value="-DANDROID_TOOLCHAIN_SYSTEM=${env.HOST_ARCH}"/>
+ <arg value="-DNDK_CPU_ARM64:BOOL=ON"/>
+ <arg value="-DARM64_LINKER_OPTS:STRING="/>
</exec>
<exec dir="${build}/openal-soft" executable="make" logError="true" failonerror="false" failifexecutionfails="false" />
</target>