diff options
Diffstat (limited to 'make')
-rwxr-xr-x | make/gluegen-cpptasks.xml | 6 | ||||
-rwxr-xr-x | make/gluegen.properties | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/make/gluegen-cpptasks.xml b/make/gluegen-cpptasks.xml index 2111cba..48b881b 100755 --- a/make/gluegen-cpptasks.xml +++ b/make/gluegen-cpptasks.xml @@ -454,6 +454,9 @@ <compilerarg value="ppc" if="macosxfat"/> <compilerarg value="-arch" if="macosxfat"/> <compilerarg value="i386" if="macosxfat"/> + <compilerarg value="-arch" if="macosx64fat"/> + <compilerarg value="x86_64" if="macosx64fat"/> + <!-- Note: Apple doesn't seem to provide ppc64 binaries on Leopard --> <compilerarg value="-Wmost" /> <compilerarg value="-ObjC" /> <defineset> @@ -522,6 +525,9 @@ <linkerarg value="ppc" if="macosxfat"/> <linkerarg value="-arch" if="macosxfat"/> <linkerarg value="i386" if="macosxfat"/> + <linkerarg value="-arch" if="macosx64fat"/> + <linkerarg value="x86_64" if="macosx64fat"/> + <!-- Note: Apple doesn't seem to provide ppc64 binaries on Leopard --> </linker> <linker id="linker.cfg.hpux" name="aCC"> diff --git a/make/gluegen.properties b/make/gluegen.properties index 81aba60..cf69cac 100755 --- a/make/gluegen.properties +++ b/make/gluegen.properties @@ -27,3 +27,7 @@ win32.c.compiler=vc6 # on a Mac OS X system supporting cross-compilation and want to # generate fat (PPC and x86) binaries, uncomment the property below # macosxfat=true +# If you are building on a 64-bit Mac OS X system supporting +# cross-compilation and want to generate fat (PPC64 and x86_64) binaries, +# uncomment the property below +# macosx64fat=true |