From 04072ff3de988de016a909597a65f29f0af5a4f9 Mon Sep 17 00:00:00 2001 From: Larry Ewing Date: Mon, 19 Jul 2021 19:53:25 -0500 Subject: [PATCH] Link with EmccCompileOptimizationFlag==-Oz by default in release (#55939) --- src/mono/wasm/build/WasmApp.Native.targets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mono/wasm/build/WasmApp.Native.targets b/src/mono/wasm/build/WasmApp.Native.targets index 375747cd4e6..48bafb1d428 100644 --- a/src/mono/wasm/build/WasmApp.Native.targets +++ b/src/mono/wasm/build/WasmApp.Native.targets @@ -155,7 +155,7 @@ <_EmccOptimizationFlagDefault Condition="'$(_EmccOptimizationFlagDefault)' == ''">-Oz $(_EmccOptimizationFlagDefault) - -O0 -s ASSERTIONS=$(_EmccAssertionLevelDefault) + $(EmccCompileOptimizationFlag) <_EmccCompileRsp>$(_WasmIntermediateOutputPath)emcc-compile.rsp -- 2.34.1