diff --git a/src/mono/wasm/wasm.proj b/src/mono/wasm/wasm.proj index be75b05f4f067..ec769911a2814 100644 --- a/src/mono/wasm/wasm.proj +++ b/src/mono/wasm/wasm.proj @@ -148,7 +148,7 @@ $(ArtifactsObjDir)wasm/pinvoke-table.h - -g -Os -s -DDEBUG=1 + -g;-Os;-s;-DDEBUG=1 -Oz emcmake cmake $(MSBuildThisFileDirectory)runtime -DCONFIGURATION_EMCC_FLAGS="$(CMakeConfigurationEmccFlags)" -DMONO_INCLUDES="$(MonoArtifactsPath)include/mono-2.0" -DMONO_OBJ_INCLUDES="$(MonoObjDir.TrimEnd('\/'))" -DICU_LIB_DIR="$(ICULibDir.TrimEnd('\/'))" -DMONO_ARTIFACTS_DIR="$(MonoArtifactsPath.TrimEnd('\/'))" -DNATIVE_BIN_DIR="$(NativeBinDir.TrimEnd('\/'))" -DSYSTEM_NATIVE_DIR="$(RepoRoot)src/libraries/Native/Unix/System.Native" -DEMSDK_PATH="$(EMSDK_PATH.TrimEnd('\/'))" -DSOURCE_DIR="$(MSBuildThisFileDirectory.TrimEnd('\/'))/runtime" call "$(RepositoryEngineeringDir)native\init-vs-env.cmd" && call "$([MSBuild]::NormalizePath('$(EMSDK_PATH)', 'emsdk_env.bat'))" && $(CMakeBuildRuntimeConfigureCmd)