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:
Sam James
2024-09-30 06:25:39 +01:00
parent f989b3c750
commit fe0050ea40
4 changed files with 0 additions and 24 deletions

View File

@@ -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."

View File

@@ -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."

View File

@@ -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."

View File

@@ -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."