aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmake/build.xml12
m---------openal-soft0
2 files changed, 9 insertions, 3 deletions
diff --git a/make/build.xml b/make/build.xml
index a4ef3e0..75e32c2 100755
--- a/make/build.xml
+++ b/make/build.xml
@@ -213,6 +213,12 @@
</condition>
<echo message="useLinuxARMv6HFOptions ${useLinuxARMv6HFOptions}" />
<echo message="useLinuxAARCH64Options ${useLinuxAARCH64Options}" />
+
+ <!-- NDK >= r19 using API > 22: 'U __register_atfork'
+ __register_atfork; # introduced=23
+ See https://github.com/android/ndk/issues/964 -->
+ <property name="ANDROID_API_LEVEL_OPENAL_SOFT" value="22" />
+ <!-- property name="ANDROID_API_LEVEL_OPENAL_SOFT" value="${env.ANDROID_API_LEVEL}"/ -->
</target>
<!-- ================================================================== -->
@@ -489,7 +495,7 @@
<arg value="-DANDROID_NDK=${env.ANDROID_NDK}"/>
<arg value="-DANDROID_HOST_TAG=${env.ANDROID_HOST_TAG}"/>
<arg value="-DNDK_CPU_X86:BOOL=true"/>
- <arg value="-DANDROID_API_LEVEL=${env.ANDROID_API_LEVEL}"/>
+ <arg value="-DANDROID_API_LEVEL=${ANDROID_API_LEVEL_OPENAL_SOFT}"/>
<arg value="-DALSOFT_CPUEXT_SSE4_1=0"/>
<arg value="-DALSOFT_CPUEXT_NEON=0"/>
</exec>
@@ -507,7 +513,7 @@
<arg value="-DANDROID_NDK=${env.ANDROID_NDK}"/>
<arg value="-DANDROID_HOST_TAG=${env.ANDROID_HOST_TAG}"/>
<arg value="-DNDK_CPU_ARM_V7A:BOOL=true"/>
- <arg value="-DANDROID_API_LEVEL=${env.ANDROID_API_LEVEL}"/>
+ <arg value="-DANDROID_API_LEVEL=${ANDROID_API_LEVEL_OPENAL_SOFT}"/>
<arg value="-DARM32_LINKER_OPTS:STRING=-Wl,--fix-cortex-a8"/>
</exec>
<exec dir="${build}/openal-soft" executable="make" logError="true" failonerror="false" failifexecutionfails="false" />
@@ -524,7 +530,7 @@
<arg value="-DANDROID_NDK=${env.ANDROID_NDK}"/>
<arg value="-DANDROID_HOST_TAG=${env.ANDROID_HOST_TAG}"/>
<arg value="-DNDK_CPU_ARM64:BOOL=true"/>
- <arg value="-DANDROID_API_LEVEL=${env.ANDROID_API_LEVEL}"/>
+ <arg value="-DANDROID_API_LEVEL=${ANDROID_API_LEVEL_OPENAL_SOFT}"/>
<arg value="-DARM64_LINKER_OPTS:STRING="/>
</exec>
<exec dir="${build}/openal-soft" executable="make" logError="true" failonerror="false" failifexecutionfails="false" />
diff --git a/openal-soft b/openal-soft
-Subproject f344ef3aa3a42c4e81376c3d8ad6507ad2b8a20
+Subproject 44f5d564bacfd8adcbb1d59763ed8970667824a