mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-02 03:00:24 +01:00
scons: Don't use gstabs on mingw-64.
This commit is contained in:
parent
f37a5081b2
commit
fb5995cf53
1 changed files with 5 additions and 3 deletions
|
|
@ -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')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue