0
Fork 0
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:
Aitor Moreno 2025-03-24 10:14:27 +01:00
parent d01eccf912
commit 974d43cb08

View file

@ -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