~ubuntu-branches/ubuntu/utopic/ardour3/utopic

« back to all changes in this revision

Viewing changes to wscript

  • Committer: Package Import Robot
  • Author(s): Adrian Knoth
  • Date: 2014-02-25 14:13:18 UTC
  • mfrom: (6.1.3 sid)
  • Revision ID: package-import@ubuntu.com-20140225141318-y760kgxso78rduuf
Tags: 3.5.357~dfsg-1
* Imported Upstream version 3.5.357~dfsg
* Critical bugfix release. All users are recommended to upgrade.
* Details: https://community.ardour.org/node/8015

Show diffs side-by-side

added added

removed removed

Lines of Context:
173
173
    if opt.gprofile:
174
174
        debug_flags = [ '-pg' ]
175
175
 
176
 
    if opt.backtrace:
177
 
        if platform != 'darwin' and not is_clang:
178
 
            debug_flags = [ '-rdynamic' ]
179
 
 
180
176
    # Autodetect
181
177
    if opt.dist_target == 'auto':
182
178
        if platform == 'darwin':
411
407
        conf.env.append_value('CFLAGS', optimization_flags)
412
408
        conf.env.append_value('CXXFLAGS', optimization_flags)
413
409
 
 
410
    if opt.backtrace:
 
411
        if platform != 'darwin' and not is_clang:
 
412
            linker_flags += [ '-rdynamic' ]
 
413
 
414
414
    conf.env.append_value('CFLAGS', compiler_flags)
415
415
    conf.env.append_value('CFLAGS', c_flags)
416
416
    conf.env.append_value('CXXFLAGS', compiler_flags)