commit:     82671ff8646c372ed9d8d6782f143b27b43ca0c8
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Fri Jan  1 15:32:10 2021 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Fri Jan  1 15:32:10 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82671ff8

sys-devel/llvm: fix usage of libc++, bug #762898

Closes: https://bugs.gentoo.org/762898
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 sys-devel/llvm/llvm-11.0.0.ebuild      | 3 ++-
 sys-devel/llvm/llvm-11.0.1.9999.ebuild | 3 ++-
 sys-devel/llvm/llvm-11.0.1_rc1.ebuild  | 3 ++-
 sys-devel/llvm/llvm-11.0.1_rc2.ebuild  | 3 ++-
 sys-devel/llvm/llvm-12.0.0.9999.ebuild | 3 ++-
 5 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/sys-devel/llvm/llvm-11.0.0.ebuild 
b/sys-devel/llvm/llvm-11.0.0.ebuild
index 332088bd561..81c796ea85f 100644
--- a/sys-devel/llvm/llvm-11.0.0.ebuild
+++ b/sys-devel/llvm/llvm-11.0.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -381,6 +381,7 @@ multilib_src_configure() {
                # libraries with libstdc++ clang, and the other way around.
                mycmakeargs+=(
                        -DLLVM_VERSION_SUFFIX="libcxx"
+                       -DLLVM_ENABLE_LIBCXX=ON
                )
        fi
 

diff --git a/sys-devel/llvm/llvm-11.0.1.9999.ebuild 
b/sys-devel/llvm/llvm-11.0.1.9999.ebuild
index 9c6edd92398..40ecd173e2d 100644
--- a/sys-devel/llvm/llvm-11.0.1.9999.ebuild
+++ b/sys-devel/llvm/llvm-11.0.1.9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -376,6 +376,7 @@ multilib_src_configure() {
                # libraries with libstdc++ clang, and the other way around.
                mycmakeargs+=(
                        -DLLVM_VERSION_SUFFIX="libcxx"
+                       -DLLVM_ENABLE_LIBCXX=ON
                )
        fi
 

diff --git a/sys-devel/llvm/llvm-11.0.1_rc1.ebuild 
b/sys-devel/llvm/llvm-11.0.1_rc1.ebuild
index 9c6edd92398..40ecd173e2d 100644
--- a/sys-devel/llvm/llvm-11.0.1_rc1.ebuild
+++ b/sys-devel/llvm/llvm-11.0.1_rc1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -376,6 +376,7 @@ multilib_src_configure() {
                # libraries with libstdc++ clang, and the other way around.
                mycmakeargs+=(
                        -DLLVM_VERSION_SUFFIX="libcxx"
+                       -DLLVM_ENABLE_LIBCXX=ON
                )
        fi
 

diff --git a/sys-devel/llvm/llvm-11.0.1_rc2.ebuild 
b/sys-devel/llvm/llvm-11.0.1_rc2.ebuild
index 9c6edd92398..40ecd173e2d 100644
--- a/sys-devel/llvm/llvm-11.0.1_rc2.ebuild
+++ b/sys-devel/llvm/llvm-11.0.1_rc2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -376,6 +376,7 @@ multilib_src_configure() {
                # libraries with libstdc++ clang, and the other way around.
                mycmakeargs+=(
                        -DLLVM_VERSION_SUFFIX="libcxx"
+                       -DLLVM_ENABLE_LIBCXX=ON
                )
        fi
 

diff --git a/sys-devel/llvm/llvm-12.0.0.9999.ebuild 
b/sys-devel/llvm/llvm-12.0.0.9999.ebuild
index 610b92aa0fb..d51ccdbab14 100644
--- a/sys-devel/llvm/llvm-12.0.0.9999.ebuild
+++ b/sys-devel/llvm/llvm-12.0.0.9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -380,6 +380,7 @@ multilib_src_configure() {
                # libraries with libstdc++ clang, and the other way around.
                mycmakeargs+=(
                        -DLLVM_VERSION_SUFFIX="libcxx"
+                       -DLLVM_ENABLE_LIBCXX=ON
                )
        fi
 

Reply via email to