mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
sys-devel/clang: stop setting GCC_INSTALL_PREFIX for prefix
Clang 19 deprecates the GCC_INSTALL_PREFIX CMake option. We now handle this via config files installed by gcc-config. If there's any remaining issues for Prefix, it should be handled over there or in sys-devel/clang-common. Closes: https://bugs.gentoo.org/939816 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -331,12 +331,6 @@ multilib_src_configure() {
|
||||
)
|
||||
fi
|
||||
|
||||
if [[ -n ${EPREFIX} ]]; then
|
||||
mycmakeargs+=(
|
||||
-DGCC_INSTALL_PREFIX="${EPREFIX}/usr"
|
||||
)
|
||||
fi
|
||||
|
||||
if tc-is-cross-compiler; then
|
||||
has_version -b sys-devel/clang:${LLVM_MAJOR} ||
|
||||
die "sys-devel/clang:${LLVM_MAJOR} is required on the build host."
|
||||
|
||||
@@ -329,12 +329,6 @@ multilib_src_configure() {
|
||||
)
|
||||
fi
|
||||
|
||||
if [[ -n ${EPREFIX} ]]; then
|
||||
mycmakeargs+=(
|
||||
-DGCC_INSTALL_PREFIX="${EPREFIX}/usr"
|
||||
)
|
||||
fi
|
||||
|
||||
if tc-is-cross-compiler; then
|
||||
has_version -b sys-devel/clang:${LLVM_MAJOR} ||
|
||||
die "sys-devel/clang:${LLVM_MAJOR} is required on the build host."
|
||||
|
||||
@@ -331,12 +331,6 @@ multilib_src_configure() {
|
||||
)
|
||||
fi
|
||||
|
||||
if [[ -n ${EPREFIX} ]]; then
|
||||
mycmakeargs+=(
|
||||
-DGCC_INSTALL_PREFIX="${EPREFIX}/usr"
|
||||
)
|
||||
fi
|
||||
|
||||
if tc-is-cross-compiler; then
|
||||
has_version -b sys-devel/clang:${LLVM_MAJOR} ||
|
||||
die "sys-devel/clang:${LLVM_MAJOR} is required on the build host."
|
||||
|
||||
@@ -332,12 +332,6 @@ multilib_src_configure() {
|
||||
)
|
||||
fi
|
||||
|
||||
if [[ -n ${EPREFIX} ]]; then
|
||||
mycmakeargs+=(
|
||||
-DGCC_INSTALL_PREFIX="${EPREFIX}/usr"
|
||||
)
|
||||
fi
|
||||
|
||||
if tc-is-cross-compiler; then
|
||||
has_version -b sys-devel/clang:${LLVM_MAJOR} ||
|
||||
die "sys-devel/clang:${LLVM_MAJOR} is required on the build host."
|
||||
|
||||
Reference in New Issue
Block a user