mirror of
https://github.com/penpot/penpot.git
synced 2025-06-07 21:11:38 +02: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
|
if [ "$_BUILD_MODE" = "release" ]; then
|
||||||
_CARGO_PARAMS="--release $_CARGO_PARAMS"
|
_CARGO_PARAMS="--release $_CARGO_PARAMS"
|
||||||
|
EMCC_CFLAGS="-Os $EMCC_CFLAGS"
|
||||||
else
|
else
|
||||||
EMCC_CFLAGS="$EMCC_CFLAGS -sMALLOC=emmalloc-debug"
|
EMCC_CFLAGS="$EMCC_CFLAGS -sMALLOC=emmalloc-debug"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue