mirror of https://github.com/penpot/penpot.git
WIP
This commit is contained in:
parent
e9bd44b819
commit
c598ace7c4
|
|
@ -27,11 +27,7 @@ if [ "$_BUILD_MODE" = "release" ]; then
|
||||||
_CARGO_PARAMS="--release $_CARGO_PARAMS"
|
_CARGO_PARAMS="--release $_CARGO_PARAMS"
|
||||||
EMCC_CFLAGS="-Os $EMCC_CFLAGS"
|
EMCC_CFLAGS="-Os $EMCC_CFLAGS"
|
||||||
else
|
else
|
||||||
# TODO: Extra parameters that could be good to look into:
|
EMCC_CFLAGS="-g -gsplit-dwarf $EMCC_CFLAGS -sERROR_ON_WASM_CHANGES_AFTER_LINK -sVERBOSE=1 -sMALLOC=emmalloc-debug"
|
||||||
# -gseparate-dwarf
|
|
||||||
# -gsplit-dwarf
|
|
||||||
# -gsource-map
|
|
||||||
EMCC_CFLAGS="-g $EMCC_CFLAGS -sVERBOSE=1 -sMALLOC=emmalloc-debug"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export EMCC_CFLAGS;
|
export EMCC_CFLAGS;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue