make backtrace symbols work again inside gtk2_ardour (-rdynamic is a link-time flag, not compile-time
This commit is contained in:
parent
60a9213035
commit
ed75b9425b
8
wscript
8
wscript
@ -177,10 +177,6 @@ def set_compiler_flags (conf,opt):
|
||||
if opt.gprofile:
|
||||
debug_flags = [ '-pg' ]
|
||||
|
||||
if opt.backtrace:
|
||||
if platform != 'darwin' and not is_clang:
|
||||
debug_flags = [ '-rdynamic' ]
|
||||
|
||||
# Autodetect
|
||||
if opt.dist_target == 'auto':
|
||||
if platform == 'darwin':
|
||||
@ -415,6 +411,10 @@ def set_compiler_flags (conf,opt):
|
||||
conf.env.append_value('CFLAGS', optimization_flags)
|
||||
conf.env.append_value('CXXFLAGS', optimization_flags)
|
||||
|
||||
if opt.backtrace:
|
||||
if platform != 'darwin' and not is_clang:
|
||||
linker_flags += [ '-rdynamic' ]
|
||||
|
||||
conf.env.append_value('CFLAGS', compiler_flags)
|
||||
conf.env.append_value('CFLAGS', c_flags)
|
||||
conf.env.append_value('CXXFLAGS', compiler_flags)
|
||||
|
Loading…
Reference in New Issue
Block a user