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