projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
150ec2d
)
wscript : emscripten pass more debug flags in debug mode (ASSERTION=2,SAFE_HEAP=1...
author
Martin Hermant
<martin.hermant@gmail.com>
Mon, 29 May 2017 22:10:07 +0000
(18:10 -0400)
committer
Martin Hermant
<martin.hermant@gmail.com>
Mon, 29 May 2017 22:10:07 +0000
(18:10 -0400)
wscript
patch
|
blob
|
history
diff --git
a/wscript
b/wscript
index
192d866
..
05b3b0a
100644
(file)
--- a/
wscript
+++ b/
wscript
@@
-231,7
+231,9
@@
def configure(ctx):
if ctx.options.build_type == "debug":
ctx.env.cshlib_PATTERN = '%s.js'
- ctx.env.LINKFLAGS_cshlib += ['-s','ASSERTIONS=1']
+ ctx.env.LINKFLAGS_cshlib += ['-s','ASSERTIONS=2']
+ ctx.env.LINKFLAGS_cshlib += ['-s','SAFE_HEAP=1']
+ ctx.env.LINKFLAGS_cshlib += ['-s','ALIASING_FUNCTION_POINTERS=0']
else:
ctx.env.LINKFLAGS += ['-Oz']
ctx.env.cshlib_PATTERN = '%s.min.js'