summaryrefslogtreecommitdiffstats
path: root/scons
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2010-03-18 15:51:11 +0000
committerJosé Fonseca <[email protected]>2010-04-09 16:32:47 +0100
commit1f014a36f793d60aa7c3defeabf6cbe4191ac422 (patch)
tree4dd2fcd2527d0429c9f3b9266f6d0a454cc2462a /scons
parent51c40680518b0d76d2eae373a474392d18be05d7 (diff)
scons: Set -gstabs for C++ too.
Diffstat (limited to 'scons')
-rw-r--r--scons/crossmingw.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scons/crossmingw.py b/scons/crossmingw.py
index 03bfbd7eb3c..9533b2b362c 100644
--- a/scons/crossmingw.py
+++ b/scons/crossmingw.py
@@ -176,7 +176,7 @@ def generate(env):
# MinGW port of gdb does not handle well dwarf debug info which is the
# default in recent gcc versions
- env.AppendUnique(CFLAGS = ['-gstabs'])
+ env.AppendUnique(CCFLAGS = ['-gstabs'])
env.AppendUnique(CPPDEFINES = [('__MSVCRT_VERSION__', '0x0700')])
#env.AppendUnique(LIBS = ['iberty'])