aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--make/build.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/make/build.xml b/make/build.xml
index 0ff11d276..ef3938def 100644
--- a/make/build.xml
+++ b/make/build.xml
@@ -418,16 +418,16 @@
<!-- Set up gcc -->
<property name="c.compiler" value="gcc" />
- <property name="c.compiler.optflags" value="-O2 -Dmacosx" />
+ <property name="c.compiler.optflags" value="-Os -arch ppc -Dmacosx" />
<!-- Note: specifying -ObjC for all files is sloppy (only needed for -->
<!-- JAWT-related .c files) but this doesn't break anything and is easier -->
<!-- than rewriting the whole Makefile -->
- <property name="c.compiler.flags" value="${c.compiler.optflags} -ObjC -c -o" />
+ <property name="c.compiler.flags" value="${c.compiler.optflags} -fno-common -fpascal-strings -Wmost -ObjC -c -o" />
<property name="c.compiler.obj.suffix" value="o" />
<property name="c.compiler.jogl.outputfile.expr" value="${rootrel.obj.jogl}/*.${c.compiler.obj.suffix}" />
<property name="c.compiler.includes" value="-I&quot;make/stub_includes/opengl&quot; -I&quot;${java.includes.dir}&quot; -I&quot;${java.includes.dir.platform}&quot; -I&quot;make/stub_includes/cg&quot;" />
<property name="c.linker" value="gcc" />
- <property name="c.linker.flags" value="-bundle" />
+ <property name="c.linker.flags" value="-arch ppc -prebind -Wl,-single_module -dynamiclib -compatibility_version 1 -current_version 1 -prebind_all_twolevel_modules" />
<property name="c.linker.jogl.libs" value="-L&quot;${java.lib.dir.platform}&quot; -framework Cocoa -framework OpenGL -ljawt" />
<property name="rootrel.c.linker.jogl.dso" value="${rootrel.obj}/libjogl.jnilib" />
<property name="c.linker.jogl.dso" value="${project.root}/${rootrel.c.linker.jogl.dso}" />