mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 17:30:12 +01:00
scons: Request the stabs debug info format for Mingw.
Mingw gdb apparently chokes on dwarf debug info.
This commit is contained in:
parent
f5fad95455
commit
3d607ef37f
1 changed files with 4 additions and 0 deletions
|
|
@ -173,6 +173,10 @@ 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(CFLAGS = ['-gstabs'])
|
||||
|
||||
env.AppendUnique(LIBS = ['iberty'])
|
||||
env.AppendUnique(SHLINKFLAGS = ['-Wl,--enable-stdcall-fixup'])
|
||||
#env.AppendUnique(SHLINKFLAGS = ['-Wl,--kill-at'])
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue