diff options
author | Michał Górny <mgorny@gentoo.org> | 2019-09-13 10:40:18 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2019-09-13 11:39:30 +0200 |
commit | 43633ff1b4c357daf6b96233a7e19f4dbcd745ba (patch) | |
tree | 30eb3e056d12ad8350eecb0af54f034d411ee809 /sys-devel | |
parent | sys-devel/clang: Backport non-native build fix for 9.0.0 (diff) | |
download | gentoo-43633ff1b4c357daf6b96233a7e19f4dbcd745ba.tar.gz gentoo-43633ff1b4c357daf6b96233a7e19f4dbcd745ba.tar.bz2 gentoo-43633ff1b4c357daf6b96233a7e19f4dbcd745ba.zip |
sys-devel/clang: Stop passing LLVM_CONFIG to 9.0+
Stop passing LLVM_CONFIG to silence CMake warning. Nowadays correct
PATH should be sufficient for CMake to find the correct packages.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/clang/clang-10.0.0.9999.ebuild | 2 | ||||
-rw-r--r-- | sys-devel/clang/clang-9.0.0.9999.ebuild | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/sys-devel/clang/clang-10.0.0.9999.ebuild b/sys-devel/clang/clang-10.0.0.9999.ebuild index 801d601ba134..423e55170bfd 100644 --- a/sys-devel/clang/clang-10.0.0.9999.ebuild +++ b/sys-devel/clang/clang-10.0.0.9999.ebuild @@ -109,8 +109,6 @@ multilib_src_configure() { local clang_version=$(ver_cut 1-3 "${llvm_version}") local mycmakeargs=( - # ensure that the correct llvm-config is used - -DLLVM_CONFIG="$(type -P "${CHOST}-llvm-config")" -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/lib/llvm/${SLOT}" -DCMAKE_INSTALL_MANDIR="${EPREFIX}/usr/lib/llvm/${SLOT}/share/man" # relative to bindir diff --git a/sys-devel/clang/clang-9.0.0.9999.ebuild b/sys-devel/clang/clang-9.0.0.9999.ebuild index 60b45818fe4b..4fac61d4c534 100644 --- a/sys-devel/clang/clang-9.0.0.9999.ebuild +++ b/sys-devel/clang/clang-9.0.0.9999.ebuild @@ -114,8 +114,6 @@ multilib_src_configure() { local clang_version=$(ver_cut 1-3 "${llvm_version}") local mycmakeargs=( - # ensure that the correct llvm-config is used - -DLLVM_CONFIG="$(type -P "${CHOST}-llvm-config")" -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/lib/llvm/${SLOT}" -DCMAKE_INSTALL_MANDIR="${EPREFIX}/usr/lib/llvm/${SLOT}/share/man" # relative to bindir |