aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'configs/pine64/env/clang-lt.conf')
-rw-r--r--configs/pine64/env/clang-lt.conf8
1 files changed, 8 insertions, 0 deletions
diff --git a/configs/pine64/env/clang-lt.conf b/configs/pine64/env/clang-lt.conf
new file mode 100644
index 0000000..128e752
--- /dev/null
+++ b/configs/pine64/env/clang-lt.conf
@@ -0,0 +1,8 @@
+CC=clang
+CXX=clang++
+CFLAGS="-march=native -O2 -pipe -flto=5 -fvectorize"
+CXXFLAGS="${CFLAGS}"
+LDFLAGS="${CFLAGS} -Wl,-plugin,/usr/lib64/LLVMgold.so"
+AR='/usr/local/bin/clang-ar'
+RANLIB=':'
+NM='nm --plugin /usr/lib64/LLVMgold.so'