diff options
Diffstat (limited to 'make/build.xml')
-rw-r--r-- | make/build.xml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/make/build.xml b/make/build.xml index e3ce6476f..f1352a2f2 100644 --- a/make/build.xml +++ b/make/build.xml @@ -70,7 +70,7 @@ <!-- Load the user specified properties file that defines various host - specific paths. The user will be notified if this is does not - exist. --> - <property name="user.properties.file" value="${make}/host.properties" /> + <property name="user.properties.file" value="${user.home}/jogl.properties" /> <property file="${user.properties.file}" /> <echo message="Loaded ${user.properties.file}." /> <echo message="antlr.jar=${antlr.jar}" /> @@ -410,7 +410,10 @@ <!-- Set up gcc --> <property name="c.compiler" value="gcc" /> <property name="c.compiler.optflags" value="-O2 -Dmacosx" /> - <property name="c.compiler.flags" value="${c.compiler.optflags} -c -o" /> + <!-- 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.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"make/stub_includes/opengl" -I"${java.includes.dir}" -I"${java.includes.dir.platform}" -I"make/stub_includes/cg"" /> |