summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-09-23 12:32:53 +0200
committerMichał Górny <mgorny@gentoo.org>2020-09-23 12:33:22 +0200
commita87f60a4f025bcec890ec8577af5268094623229 (patch)
tree1b41745503712fec2bfae4d482c0d181a4b9cae5 /sys-devel
parentnet-misc/ssh-askpass-fullscreen: sparc stable wrt bug #742146 (diff)
downloadgentoo-a87f60a4f025bcec890ec8577af5268094623229.tar.gz
gentoo-a87f60a4f025bcec890ec8577af5268094623229.tar.bz2
gentoo-a87f60a4f025bcec890ec8577af5268094623229.zip
sys-devel/clang: Update paths to fix clang-tools-extra build
Upstream has apparently started hardcoding paths based on monorepo. Since the actual paths do not matter to us, just update them. Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/clang/clang-12.0.0.9999.ebuild3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys-devel/clang/clang-12.0.0.9999.ebuild b/sys-devel/clang/clang-12.0.0.9999.ebuild
index 8f5be4425a42..1f2944a6e1d5 100644
--- a/sys-devel/clang/clang-12.0.0.9999.ebuild
+++ b/sys-devel/clang/clang-12.0.0.9999.ebuild
@@ -79,8 +79,6 @@ src_prepare() {
BUILD_DIR=${WORKDIR}/x/y/clang
llvm.org_src_prepare
-
- mv ../clang-tools-extra tools/extra || die
}
check_distribution_components() {
@@ -254,6 +252,7 @@ multilib_src_configure() {
if multilib_is_native_abi; then
mycmakeargs+=(
+ -DLLVM_EXTERNAL_CLANG_TOOLS_EXTRA_SOURCE_DIR="${WORKDIR}"/clang-tools-extra
# normally copied from LLVM_INCLUDE_DOCS but the latter
# is lacking value in stand-alone builds
-DCLANG_INCLUDE_DOCS=ON