diff options
author | 2022-09-16 01:33:02 +0100 | |
---|---|---|
committer | 2022-09-16 01:35:04 +0100 | |
commit | 3fa47c76138a86a5d29d30230c0afc1946d46d5b (patch) | |
tree | 35e64fa7837cbc923ae1b672067c1969e4905dc2 /profiles | |
parent | profiles: fixup ghostscript mask (diff) | |
download | gentoo-3fa47c76138a86a5d29d30230c0afc1946d46d5b.tar.gz gentoo-3fa47c76138a86a5d29d30230c0afc1946d46d5b.tar.bz2 gentoo-3fa47c76138a86a5d29d30230c0afc1946d46d5b.zip |
profiles/features/clang: add LLVM_USE_LIBCXX, CXXSTDLIB
Needed to build some Rust crates like sys-apps/uutils.
I'd heard some users mention needing to set this but hadn't
poked particularly far (was in the context of trying to do
Firefox + libc++ on non-LLVM profiles IIRC).
Bug: https://bugs.gentoo.org/732632
Bug: https://bugs.gentoo.org/870280
Thanks-to: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
Thanks-to: Georgy Yakovlev <gyakovlev@gentoo.org>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'profiles')
-rw-r--r-- | profiles/features/clang/make.defaults | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/profiles/features/clang/make.defaults b/profiles/features/clang/make.defaults index ad06c1d9333f..64627a72aa3e 100644 --- a/profiles/features/clang/make.defaults +++ b/profiles/features/clang/make.defaults @@ -40,6 +40,9 @@ OBJDUMP="llvm-objdump" READELF="llvm-readelf" ADDR2LINE="llvm-addr2line" +# Rust needs this to build some crates (like uutils) +LLVM_USE_LIBCXX=1 +CXXSTDLIB="c++" # bootstrap USE for stage1 |