diff options
Diffstat (limited to 'app-editors/neovim/neovim-9999.ebuild')
-rw-r--r-- | app-editors/neovim/neovim-9999.ebuild | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/app-editors/neovim/neovim-9999.ebuild b/app-editors/neovim/neovim-9999.ebuild index 41b10f5d0a92..1aa5eaa0db8b 100644 --- a/app-editors/neovim/neovim-9999.ebuild +++ b/app-editors/neovim/neovim-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -21,7 +21,7 @@ fi LICENSE="Apache-2.0 vim" SLOT="0" -IUSE="+lto +nvimpager test" +IUSE="+nvimpager test" # Upstream say the test library needs LuaJIT # https://github.com/neovim/neovim/blob/91109ffda23d0ce61cec245b1f4ffb99e7591b62/CMakeLists.txt#L377 @@ -81,15 +81,10 @@ src_prepare() { } src_configure() { - ln -s "${BROOT}"/usr/bin/luajit "${BUILD_DIR}"/luajit || die - # Upstream default to LTO on non-debug builds - # Let's expose it as a USE flag because upstream - # have preferences for how we should use LTO - # if we want it on (not just -flto) - # ... but allow turning it off. # TODO: Investigate USE_BUNDLED, doesn't seem to be needed right now local mycmakeargs=( - -DENABLE_LTO=$(usex lto) + # appends -flto + -DENABLE_LTO=OFF -DPREFER_LUA=$(usex lua_single_target_luajit no "$(lua_get_version)") -DLUA_PRG="${ELUA}" ) |