summaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorGerard Ziemski <[email protected]>2003-11-04 19:31:24 +0000
committerGerard Ziemski <[email protected]>2003-11-04 19:31:24 +0000
commit61181baab239670cbc24d84110ac923c2972aa4e (patch)
tree0aac0cd4814ed46286c628aaa02aaf6c6d15aaec /make
parentb0cb7e5faf5f0b5a7f4cfe31e49be9342b36e0a3 (diff)
added Mac OS X specific compiler and linker options - prebinding. jogl.jnilib is now a dynamic lib, not a bundle
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@71 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'make')
-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}" />