You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a setting (BYN_ENABLE_LTO) which controls if LTO is enabled, and
this is enabled for emscripten by default.
With emscripten we also want to add `-flto=thin` to the linker flags (on
other targets its not needed but in emscripten we need this so the
linker knows to use specific LTO system libraries)
I'm not sure if was intentional to use `-flto` and some places and
`-flto=thin` in others, but this change consistency does thing LTO. If
we want to add option for full LTO we could do that later.
Also, don't enable LTO by default in debug build.
0 commit comments