summaryrefslogtreecommitdiffstats
path: root/make/gluegen-cpptasks-base.xml
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-01-14 17:41:44 +0100
committerSven Gothel <[email protected]>2023-01-14 17:41:44 +0100
commit2fc456b93588f9a6973403cb27409bbf54ecbef4 (patch)
treecfb713049ff37e06cd4ae7db790b004982b8cdd8 /make/gluegen-cpptasks-base.xml
parent0b441cfc14947b1c8cabdc87705ae95a0afec4d9 (diff)
MacOS: Add fat universal build w/ x86_64 + aarch64; Bump min SDK version >= 11.0
Diffstat (limited to 'make/gluegen-cpptasks-base.xml')
-rwxr-xr-xmake/gluegen-cpptasks-base.xml8
1 files changed, 6 insertions, 2 deletions
diff --git a/make/gluegen-cpptasks-base.xml b/make/gluegen-cpptasks-base.xml
index 414a4de..cda6592 100755
--- a/make/gluegen-cpptasks-base.xml
+++ b/make/gluegen-cpptasks-base.xml
@@ -1229,10 +1229,12 @@
<compilerarg value="i386" if="use.macosx32"/>
<compilerarg value="-arch" if="use.macosx64"/>
<compilerarg value="x86_64" if="use.macosx64"/>
+ <compilerarg value="-arch" if="use.macosx64"/>
+ <compilerarg value="arm64" if="use.macosx64"/>
<!-- Note: Apple doesn't seem to provide ppc64 binaries on Leopard -->
<compilerarg value="-Wmost" />
<compilerarg value="-ObjC" />
- <compilerarg value="-mmacosx-version-min=10.5"/>
+ <compilerarg value="-mmacosx-version-min=11.0"/>
<!-- sysincludepath path="${macosx.sdkroot}" if="macosx.sdkroot"/ -->
<defineset>
<define name="_DEBUG" if="c.compiler.use-debug"/>
@@ -1465,7 +1467,9 @@
<linkerarg value="i386" if="use.macosx32"/>
<linkerarg value="-arch" if="use.macosx64"/>
<linkerarg value="x86_64" if="use.macosx64"/>
- <linkerarg value="-mmacosx-version-min=10.5"/>
+ <linkerarg value="-arch" if="use.macosx64"/>
+ <linkerarg value="arm64" if="use.macosx64"/>
+ <linkerarg value="-mmacosx-version-min=11.0"/>
<linkerarg value="-static-libgcc" if="isGCC"/>
<linkerarg value="-static-libstdc++" if="isGCC"/>
</linker>