From 02814fd00146251691678aa18d9937665c677086 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 7 Jan 2024 12:53:51 +0000 Subject: gentoo auto-resync : 07:01:2024 - 12:53:51 --- app-editors/neovim/neovim-0.9.3.ebuild | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'app-editors/neovim/neovim-0.9.3.ebuild') diff --git a/app-editors/neovim/neovim-0.9.3.ebuild b/app-editors/neovim/neovim-0.9.3.ebuild index ec45d50f6dd1..3b0381d9c4a9 100644 --- a/app-editors/neovim/neovim-0.9.3.ebuild +++ b/app-editors/neovim/neovim-0.9.3.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 @@ -82,14 +82,10 @@ src_prepare() { } src_configure() { - # 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}" ) -- cgit v1.2.3