Mesa (master): scons: Set -gstabs for C++ too.

Jose Fonseca jrfonseca at kemper.freedesktop.org
Fri Apr 9 15:34:41 UTC 2010


Module: Mesa
Branch: master
Commit: 1f014a36f793d60aa7c3defeabf6cbe4191ac422
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1f014a36f793d60aa7c3defeabf6cbe4191ac422

Author: José Fonseca <jfonseca at vmware.com>
Date:   Thu Mar 18 15:51:11 2010 +0000

scons: Set -gstabs for C++ too.

---

 scons/crossmingw.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scons/crossmingw.py b/scons/crossmingw.py
index 03bfbd7..9533b2b 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'])




More information about the mesa-commit mailing list