diff options
Diffstat (limited to 'configs/pine64/env/lto-spec.conf')
-rw-r--r-- | configs/pine64/env/lto-spec.conf | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/configs/pine64/env/lto-spec.conf b/configs/pine64/env/lto-spec.conf new file mode 100644 index 0000000..a57e9ae --- /dev/null +++ b/configs/pine64/env/lto-spec.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} -fvisibility=hidden" +LDFLAGS="-O2 -flto -fuse-linker-plugin" +AR='/usr/local/bin/ar' +RANLIB='/usr/local/bin/ranlib' +NM='/usr/local/bin/nm' + |