Changeset c04346d for wscript


Ignore:
Timestamp:
Dec 24, 2016, 7:10:40 PM (3 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master, sampler, yinfft+
Children:
a6ba5d9f
Parents:
dae3292
Message:

wscript: avoid overwritting CFLAGS' -O in release mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wscript

    rdae3292 rc04346d  
    140140        # enable debug symbols and configure warnings
    141141        ctx.env.CFLAGS += ['-g', '-Wall', '-Wextra']
    142         if ctx.options.build_type == "release":
    143             # set optimization level
    144             ctx.env.CFLAGS += ['-O2']
    145         else:
     142        if ctx.options.build_type == "debug":
     143            # no optimization in debug mode
    146144            ctx.env.CFLAGS += ['-O0']
    147145    else:
Note: See TracChangeset for help on using the changeset viewer.