diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2014-02-07 19:00:44 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-02-07 19:00:44 -0500 |
commit | 2a7ed69c28c5c4606ff13b3605b9bc9c3eba607d (patch) | |
tree | 8bc1cbb9df7bab6bafac672d11ce6e63f3a8542d /wscript | |
parent | 89d5be353addf41e0d6cdf5c70cdc988a0c3d19a (diff) | |
parent | d47fe167e3c1dc44e4114227b0e8b83b40b35169 (diff) |
merge with master, with minor conflict fixes
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -168,11 +168,6 @@ def set_compiler_flags (conf,opt): if opt.gprofile: debug_flags = [ '-pg' ] - if opt.backtrace: - if opt.dist_target == 'auto': - if platform != 'darwin' and not is_clang: - debug_flags = [ '-rdynamic' ] - # Autodetect if opt.dist_target == 'auto': if platform == 'darwin': @@ -409,6 +404,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) |