mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-17 14:49:30 -07:00
app-editors/neovim: Fix hardcoded usage of ccache
Use the cmake variable CACHE_PRG to turn off usage of ccache and sccache
by default if they are found on the system.
Refer: f0757ee590/CONTRIBUTING.md (L48)
Closes: https://bugs.gentoo.org/906019
Signed-off-by: Brahmajit Das <listout@listout.xyz>
Part-of: https://github.com/gentoo/gentoo/pull/42755
Closes: https://github.com/gentoo/gentoo/pull/42755
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -94,6 +94,8 @@ src_configure() {
|
||||
-DENABLE_LTO=OFF
|
||||
-DPREFER_LUA=$(usex lua_single_target_luajit no "$(lua_get_version)")
|
||||
-DLUA_PRG="${LUA}"
|
||||
# bug 906019: fix hardcoded usage of ccache
|
||||
-DCACHE_PRG=OFF
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
@@ -94,6 +94,8 @@ src_configure() {
|
||||
-DENABLE_LTO=OFF
|
||||
-DPREFER_LUA=$(usex lua_single_target_luajit no "$(lua_get_version)")
|
||||
-DLUA_PRG="${LUA}"
|
||||
# bug 906019: fix hardcoded usage of ccache
|
||||
-DCACHE_PRG=OFF
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
@@ -94,6 +94,8 @@ src_configure() {
|
||||
-DENABLE_LTO=OFF
|
||||
-DPREFER_LUA=$(usex lua_single_target_luajit no "$(lua_get_version)")
|
||||
-DLUA_PRG="${LUA}"
|
||||
# bug 906019: fix hardcoded usage of ccache
|
||||
-DCACHE_PRG=OFF
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user