mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 23:47:14 -08:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user