mirror of
https://github.com/penpot/penpot.git
synced 2025-04-10 14:01:29 -05:00
🐛 Fix _build_env release EMCC_CFLAGS
This commit is contained in:
parent
d01eccf912
commit
974d43cb08
1 changed files with 1 additions and 0 deletions
|
@ -28,6 +28,7 @@ _CARGO_PARAMS="--target=wasm32-unknown-emscripten";
|
|||
|
||||
if [ "$_BUILD_MODE" = "release" ]; then
|
||||
_CARGO_PARAMS="--release $_CARGO_PARAMS"
|
||||
EMCC_CFLAGS="-Os $EMCC_CFLAGS"
|
||||
else
|
||||
EMCC_CFLAGS="$EMCC_CFLAGS -sMALLOC=emmalloc-debug"
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue