Skip to content

Commit 4797f21

Browse files
authored
Merge pull request #12 from Faless/js/lto
JavaScript: Enable lto.
2 parents 7a413ea + 964f9ca commit 4797f21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build-javascript/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ set -e
66

77
export BUILD_NAME=official
88
export SCONS="scons -j${NUM_CORES} verbose=yes warnings=no progress=no"
9-
export OPTIONS="debug_symbols=no"
9+
export OPTIONS="debug_symbols=no use_lto=yes"
1010
export OPTIONS_MONO="module_mono_enabled=yes mono_static=yes mono_prefix=/root/mono-installs/wasm-runtime-release"
1111
export TERM=xterm
1212

0 commit comments

Comments
 (0)