diff options
| author | ruki <[email protected]> | 2023-09-11 22:34:50 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-09-11 22:34:50 +0800 |
| commit | db6354e9644c4c125b653f802ad121bb7d24d51e (patch) | |
| tree | bcba57a85bebf6b0cb7a7ea781c2d059ac35883a | |
| parent | 7298851075ef05ff34849934ecd113e6a6cfd33a (diff) | |
disable lto for mac #4181
| -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 |
