summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcore/xmake.sh6
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