Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 816225

Summary: sys-devel/clang - replace default-* USE flags with clang.cfg
Product: Gentoo Linux Reporter: Matthew Smith <matthew>
Component: Current packagesAssignee: LLVM support project <llvm>
Status: RESOLVED FIXED    
Severity: normal CC: matthew, sam
Priority: Normal Keywords: UPSTREAM
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Matthew Smith gentoo-dev 2021-10-04 08:42:08 UTC
As proposed by mgorny in #gentoo-dev and #gentoo-llvm, the default-{compiler-rt,libcxx,lld} USE flags can be removed from clang and instead be set at runtime in a config file.

Currently upstream does not support having a single site-wide clang.cfg file for all drivers (e.g. calling x86_64-pc-linux-gnu-clang++ will attempt to load /etc/clang/x86_64-pc-linux-gnu.cfg, calling clang++ will not attempt to load any file by default).
Comment 1 Matthew Smith gentoo-dev 2021-10-04 08:43:05 UTC
Patch sent upstream: https://reviews.llvm.org/D109621 (address not accepted by See Also field)