diff options
author | marha <marha@users.sourceforge.net> | 2011-09-14 15:09:39 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-09-14 15:09:39 +0200 |
commit | a0fc33d46dfe59745f22decb93fe147292335602 (patch) | |
tree | 1a4f7f0752a1c8935e12130c3142031272495ce6 /mesalib/scons/crossmingw.py | |
parent | dafebc5bb70303f0b5baf0b087cf4d9a64b5c7f0 (diff) | |
parent | e066f54c99aecce620158fe7f31589242df55677 (diff) | |
download | vcxsrv-a0fc33d46dfe59745f22decb93fe147292335602.tar.gz vcxsrv-a0fc33d46dfe59745f22decb93fe147292335602.tar.bz2 vcxsrv-a0fc33d46dfe59745f22decb93fe147292335602.zip |
Merge remote-tracking branch 'origin/released'
Diffstat (limited to 'mesalib/scons/crossmingw.py')
-rw-r--r-- | mesalib/scons/crossmingw.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/mesalib/scons/crossmingw.py b/mesalib/scons/crossmingw.py index 893002f64..23c56c0a2 100644 --- a/mesalib/scons/crossmingw.py +++ b/mesalib/scons/crossmingw.py @@ -221,9 +221,11 @@ def generate(env): env['LIBPREFIXES'] = [ 'lib', '' ] env['LIBSUFFIXES'] = [ '.a', '.lib' ] - # MinGW port of gdb does not handle well dwarf debug info which is the - # default in recent gcc versions - env.AppendUnique(CCFLAGS = ['-gstabs']) + # MinGW x86 port of gdb does not handle well dwarf debug info which is the + # default in recent gcc versions. The x64 port gdb from mingw-w64 seems to + # handle it fine though, so stick with the default there. + if env['machine'] != 'x86_64': + env.AppendUnique(CCFLAGS = ['-gstabs']) env.AddMethod(compile_without_gstabs, 'compile_without_gstabs') |