summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Rothwell <[email protected]>2010-06-26 15:47:46 +0000
committerMark Rothwell <[email protected]>2010-06-26 15:47:46 +0000
commit3ae7974b37f826d15a44ab9a5dcbe34e0bbbfe43 (patch)
tree32a31363b3f4db034ffefa7678eada013e01d03f
parent6953433818d5aa3a4acddd3a9f884968c1d98ff4 (diff)
Use correct compiler setup for nativewindow
-rw-r--r--make/build-nativewindow.xml8
1 files changed, 6 insertions, 2 deletions
diff --git a/make/build-nativewindow.xml b/make/build-nativewindow.xml
index fe9355a90..75281b70c 100644
--- a/make/build-nativewindow.xml
+++ b/make/build-nativewindow.xml
@@ -352,6 +352,10 @@
<target name="c.configure.1" depends="gluegen.cpptasks.detect.os,gluegen.cpptasks.setup.compiler">
<!-- compiler configuration -->
<!-- Note that we can use the base setups in the gluegen-cpptasks for most of these -->
+ <compiler id="compiler.cfg.freebsd.nativewindow" extends="compiler.cfg.freebsd">
+ <!-- Need to force X11R6 headers on to include path after stub_includes -->
+ <includepath path="/usr/local/include" />
+ </compiler>
<!-- linker configuration -->
@@ -471,13 +475,13 @@
<target name="c.configure.freebsd.x86" if="isFreeBSDX86">
<echo message="FreeBSD.x86" />
- <property name="compiler.cfg.id" value="compiler.cfg.freebsd" />
+ <property name="compiler.cfg.id" value="compiler.cfg.freebsd.nativewindow" />
<property name="linker.cfg.id.oswin" value="linker.cfg.freebsd.nativewindow.x11" />
</target>
<target name="c.configure.freebsd.amd64" if="isFreeBSDAMD64">
<echo message="FreeBSD.AMD64" />
- <property name="compiler.cfg.id" value="compiler.cfg.freebsd" />
+ <property name="compiler.cfg.id" value="compiler.cfg.freebsd.nativewindow" />
<property name="linker.cfg.id.oswin" value="linker.cfg.freebsd.amd64.nativewindow.x11" />
</target>