From f0d910e3e56f57fdfc0b2f33bc7f870ab02f593f Mon Sep 17 00:00:00 2001 From: martinfouilleul Date: Thu, 6 Jul 2023 15:06:34 +0200 Subject: [PATCH] [win32] compile wasm3 with optimizations (don't forget to re-run `build.bat wasm3` and the `build.bat orca`) --- build.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.bat b/build.bat index f30ac99..8e84a71 100644 --- a/build.bat +++ b/build.bat @@ -13,7 +13,7 @@ if %target% == wasm3 ( set wasm3_sources=/I .\ext\wasm3\source\*.c for %%f in ( .\ext\wasm3\source\*.c ) do ( - cl /nologo /Zi /Zc:preprocessor /c /Fo:bin\obj\%%~nf.obj %wasm3_includes% %%f + cl /nologo /Zi /Zc:preprocessor /O2 /c /Fo:bin\obj\%%~nf.obj %wasm3_includes% %%f ) lib /nologo /out:bin\wasm3.lib bin\obj\*.obj )