about summary refs log tree commit diff
path: root/etc/portage/env/llvm.conf
diff options
context:
space:
mode:
Diffstat (limited to 'etc/portage/env/llvm.conf')
-rw-r--r--etc/portage/env/llvm.conf7
1 files changed, 7 insertions, 0 deletions
diff --git a/etc/portage/env/llvm.conf b/etc/portage/env/llvm.conf
new file mode 100644
index 0000000..f2571ff
--- /dev/null
+++ b/etc/portage/env/llvm.conf
@@ -0,0 +1,7 @@
+AR="llvm-ar"
+CC="clang"
+CXX="clang++"
+CXXFLAGS="${CXXFLAGS} -stdlib=libc++"
+LDFLAGS="${LDFLAGS} -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind"
+NM="llvm-nm"
+RANLIB="llvm-ranlib"

Consider giving Nix/NixOS a try! <3