diff options
author | Sven Gothel <[email protected]> | 2009-07-31 13:11:58 -0700 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2009-07-31 13:11:58 -0700 |
commit | 556b3ef655af70239793975f61b7ec6c0a4abbe7 (patch) | |
tree | fc3e4aca669593a43f93c10c0250a8115d17bdbc | |
parent | 0b877723ff1f226899edadd1697ee387df31ab45 (diff) |
MingW: Refince CC flags
-rwxr-xr-x | make/gluegen-cpptasks.xml | 3 |
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"/> |