Changeset 6421221 for wscript


Ignore:
Timestamp:
May 30, 2017, 11:50:07 PM (2 years ago)
Author:
Martin Hermant <martin.hermant@gmail.com>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master
Children:
342eb13e
Parents:
4b084a9
Message:

wscript : emscripten : pass debug js flag to examples and tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wscript

    r4b084a9 r6421221  
    232232        if ctx.options.build_type == "debug":
    233233            ctx.env.cshlib_PATTERN = '%s.js'
    234             ctx.env.LINKFLAGS_cshlib += ['-s','ASSERTIONS=2']
    235             ctx.env.LINKFLAGS_cshlib += ['-s','SAFE_HEAP=1']
    236             ctx.env.LINKFLAGS_cshlib += ['-s','ALIASING_FUNCTION_POINTERS=0']
     234            ctx.env.LINKFLAGS += ['-s','ASSERTIONS=2']
     235            ctx.env.LINKFLAGS += ['-s','SAFE_HEAP=1']
     236            ctx.env.LINKFLAGS += ['-s','ALIASING_FUNCTION_POINTERS=0']
     237            ctx.env.LINKFLAGS += ['-O0']
    237238        else:
    238239            ctx.env.LINKFLAGS += ['-Oz']
Note: See TracChangeset for help on using the changeset viewer.