summaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2009-07-31 13:11:58 -0700
committerSven Gothel <[email protected]>2009-07-31 13:11:58 -0700
commit556b3ef655af70239793975f61b7ec6c0a4abbe7 (patch)
treefc3e4aca669593a43f93c10c0250a8115d17bdbc /make
parent0b877723ff1f226899edadd1697ee387df31ab45 (diff)
MingW: Refince CC flags
Diffstat (limited to 'make')
-rwxr-xr-xmake/gluegen-cpptasks.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/make/gluegen-cpptasks.xml b/make/gluegen-cpptasks.xml
index b2cefef..d3f24b6 100755
--- a/make/gluegen-cpptasks.xml
+++ b/make/gluegen-cpptasks.xml
@@ -509,6 +509,9 @@
</compiler>
<compiler id="compiler.cfg.win32.mingw" name="gcc">
+ <compilerarg value="-g" if="c.compiler.use-debug"/>
+ <compilerarg value="-O0" if="c.compiler.use-debug"/>
+ <compilerarg value="-O2" unless="c.compiler.use-debug"/>
<defineset>
<define name="_DEBUG" if="c.compiler.use-debug"/>
<define name="DEBUG" if="c.compiler.use-debug"/>