diff options
author | 2021-12-05 00:13:04 +0100 | |
---|---|---|
committer | 2021-12-05 12:18:45 +0100 | |
commit | 6890ef4bc1a8b3a67c9da1059091ffe775d4083b (patch) | |
tree | 52a5ff095a4f17bb56b99a4cfd6109455382180d /profiles/features/clang/package.use | |
parent | sys-libs/glibc: Update live ebuild (diff) | |
download | gentoo-6890ef4bc1a8b3a67c9da1059091ffe775d4083b.tar.gz gentoo-6890ef4bc1a8b3a67c9da1059091ffe775d4083b.tar.bz2 gentoo-6890ef4bc1a8b3a67c9da1059091ffe775d4083b.zip |
profiles: add clang profile feature
Signed-off-by: Alex Revin <2b57@pm.me>
Closes: https://github.com/gentoo/gentoo/pull/23187
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'profiles/features/clang/package.use')
-rw-r--r-- | profiles/features/clang/package.use | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/profiles/features/clang/package.use b/profiles/features/clang/package.use new file mode 100644 index 00000000000..5d568cb8cb6 --- /dev/null +++ b/profiles/features/clang/package.use @@ -0,0 +1,17 @@ +# use lld by default +sys-devel/llvm -gold + +# use all defaults +sys-devel/clang compiler-rt default-compiler-rt default-lld default-libcxx llvm-libunwind +sys-libs/compiler-rt clang + +# disable sanitizers for now +sys-devel/clang-runtime compiler-rt libcxx -sanitize +# sys-libs/compiler-rt-sanitizers clang + +sys-libs/libcxx libunwind libcxxabi +sys-libs/libcxxabi libunwind +sys-libs/llvm-libunwind compiler-rt + +# libgcrypt doesn't like optimizations +dev-libs/libgcrypt o-flag-munging |