Commit 3d607ef3 authored by Jose Fonseca's avatar Jose Fonseca

scons: Request the stabs debug info format for Mingw.

Mingw gdb apparently chokes on dwarf debug info.
parent f5fad954
......@@ -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'])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment