* Previously -fno-lto support was assumed to be supported on non-gcc compatible or unsupported compilers.
Support for it was never tested on those cases. Set the default to not supported.
HAVE_RVV_INTRIN=0
HAVE_ZBC_EXT=0
armv6flag=
-noltoflag="-fno-lto"
+# Set default for noltoflag based on compiler being gcc compatible or not
+noltoflag=
vgfmaflag="-march=z13"
vmxflag="-maltivec"
symbol_prefix=""
EOF
if $cc $CFLAGS -fno-lto -c $test.c >> configure.log 2>&1; then
echo "Checking for -fno-lto... Yes." | tee -a configure.log
+ noltoflag="-fno-lto"
else
echo "Checking for -fno-lto... No." | tee -a configure.log
noltoflag=""