mirror of
https://github.com/penpot/penpot.git
synced 2025-08-03 02:28:22 +02:00
Merge pull request #6134 from penpot/azazeln28-fix-render-wasm-build-env
🐛 Fix _build_env release EMCC_CFLAGS
This commit is contained in:
commit
5d66eedcc7
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
Add a link
Reference in a new issue