diff options
Diffstat (limited to 'configs/imx6/env/lto-warn.conf')
-rw-r--r-- | configs/imx6/env/lto-warn.conf | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/configs/imx6/env/lto-warn.conf b/configs/imx6/env/lto-warn.conf new file mode 100644 index 0000000..6aefda5 --- /dev/null +++ b/configs/imx6/env/lto-warn.conf @@ -0,0 +1,9 @@ +VECFLAGS="-ftree-vectorize -ftree-loop-distribution" +WARNFLAGS="-Wsuggest-final-types -Wsuggest-final-methods -Wsuggest-override -Warray-bounds" +CFLAGS="-march=armv7-a -mtune=cortex-a9 -mfpu=neon-fp16 -mfp16-format=ieee -mfloat-abi=hard -O2 -flto ${VECFLAGS}" +CXXFLAGS="${CFLAGS} ${WARNFLAGS}" +LDFLAGS="-O2 -flto -fuse-linker-plugin" +AR='/usr/local/bin/ar' +RANLIB='/usr/local/bin/ranlib' +NM='/usr/local/bin/nm' + |