mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
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
1 changed files with 4 additions and 4 deletions
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…
Add table
Add a link
Reference in a new issue