diff options
| -rwxr-xr-x | core/xmake.sh | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/core/xmake.sh b/core/xmake.sh index df3fbecb5..2c42a8891 100755 --- a/core/xmake.sh +++ b/core/xmake.sh @@ -27,12 +27,6 @@ else set_symbols "hidden" fi set_optimizes "smallest" - # we cannot enable LTO on macOS arm64 - if is_plat "macosx" && ! is_arch "arm64"; then - add_cxflags "-flto" - add_mxflags "-flto" - add_ldflags "-flto" - fi fi # the runtime option, lua or luajit |
