sys-devel/llvm: Update config.guess from gnuconfig in 10+
authorMichał Górny <mgorny@gentoo.org>
Fri, 11 Oct 2019 18:16:50 +0000 (20:16 +0200)
committerMichał Górny <mgorny@gentoo.org>
Fri, 11 Oct 2019 18:57:03 +0000 (20:57 +0200)
Closes: https://bugs.gentoo.org/697510
Signed-off-by: Michał Górny <mgorny@gentoo.org>
sys-devel/llvm/llvm-10.0.0.9999.ebuild

index bd137968658aa047ce3d222fe5a4760703c3cb38..77a6c8423834164889168c93c8c4ee0c4a926ea9 100644 (file)
@@ -59,6 +59,7 @@ DEPEND="${RDEPEND}
        gold? ( sys-libs/binutils-libs )"
 BDEPEND="
        dev-lang/perl
+       sys-devel/gnuconfig
        || ( >=sys-devel/gcc-3.0 >=sys-devel/llvm-3.5
                ( >=sys-freebsd/freebsd-lib-9.1-r10 sys-libs/libcxx )
        )
@@ -186,6 +187,9 @@ src_prepare() {
        # disable use of SDK on OSX, bug #568758
        sed -i -e 's/xcrun/false/' utils/lit/lit/util.py || die
 
+       # Update config.guess to support more systems
+       cp "${BROOT}/usr/share/gnuconfig/config.guess" cmake/ || die
+
        # User patches + QA
        cmake-utils_src_prepare