aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'configs/pine64/env/lto-default.conf')
-rw-r--r--configs/pine64/env/lto-default.conf7
1 files changed, 7 insertions, 0 deletions
diff --git a/configs/pine64/env/lto-default.conf b/configs/pine64/env/lto-default.conf
new file mode 100644
index 0000000..02db50d
--- /dev/null
+++ b/configs/pine64/env/lto-default.conf
@@ -0,0 +1,7 @@
+VECFLAGS="-ftree-vectorize -ftree-loop-distribution -fvect-cost-model=cheap"
+CFLAGS="-march=armv8-a -mtune=cortex-a53 -O2 -flto ${VECFLAGS}"
+CXXFLAGS="${CFLAGS}"
+LDFLAGS="-O2 -flto -fuse-linker-plugin"
+AR='/usr/local/bin/ar'
+RANLIB='/usr/local/bin/ranlib'
+NM='/usr/local/bin/nm'