Changeset 341585b


Ignore:
Timestamp:
May 30, 2017, 12:10:07 AM (3 years ago)
Author:
Martin Hermant <martin.hermant@gmail.com>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master
Children:
eea6101
Parents:
150ec2d
Message:

wscript : emscripten pass more debug flags in debug mode (ASSERTION=2,SAFE_HEAP=1,ALIASING_FUNCTION_POINTERS=0)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wscript

    r150ec2d r341585b  
    232232        if ctx.options.build_type == "debug":
    233233            ctx.env.cshlib_PATTERN = '%s.js'
    234             ctx.env.LINKFLAGS_cshlib += ['-s','ASSERTIONS=1']
     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']
    235237        else:
    236238            ctx.env.LINKFLAGS += ['-Oz']
Note: See TracChangeset for help on using the changeset viewer.