summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'profiles/features/clang/package.use')
-rw-r--r--profiles/features/clang/package.use17
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