diff options
-rwxr-xr-x | make/build.xml | 16 | ||||
m--------- | openal-soft | 0 |
2 files changed, 16 insertions, 0 deletions
diff --git a/make/build.xml b/make/build.xml index 6f28652..a6a240c 100755 --- a/make/build.xml +++ b/make/build.xml @@ -576,10 +576,26 @@ <target name="c.build.openal.soft.clang.default" if="isCLANG" unless="c.build.openal.soft.done"> <property name="c.build.openal.soft.done" value="true" /> + + <!-- add addition architectures for fat-binary, currently used by macosx only. --> + <var name="cmake.arch.ppc" unset="true"/> + <var name="cmake.arch.x32" unset="true"/> + <var name="cmake.arch.x64" unset="true"/> + <condition property="cmake.arch.ppc" value="-arch ppc" else=""> + <istrue value="${use.macosppc}" /> + </condition> + <condition property="cmake.arch.x32" value="-arch i386" else=""> + <istrue value="${use.macosx32}" /> + </condition> + <condition property="cmake.arch.x64" value="-arch x86_64" else=""> + <istrue value="${use.macosx64}" /> + </condition> + <mkdir dir="${build}/openal-soft" /> <exec dir="${build}/openal-soft" executable="cmake" logError="true" failonerror="false" failifexecutionfails="false"> <arg value="../../openal-soft"/> <arg value="-DOPENAL_CUSTOM_CONFIG=../openal-soft/cmake/customconfig.clang-default.cmake"/> + <arg value="-DCMAKE_EXTRA_ARCHS=${cmake.arch.ppc} ${cmake.arch.x32} ${cmake.arch.x64}"/> </exec> <exec dir="${build}/openal-soft" executable="make" logError="true" failonerror="false" failifexecutionfails="false" /> </target> diff --git a/openal-soft b/openal-soft -Subproject 95a2fe69853d6996cf9e00a9073c57cf9cef9ae +Subproject 178194b7de4b4ad1de0c701356fca46565dde76 |