diff --git a/configure b/configure index 3da4d89d..9ecabbc2 100755 --- a/configure +++ b/configure @@ -752,7 +752,7 @@ then fi FFLAGS[0]="${OPT_FLAGS} -march=${opt}" if [[ "$opt" == "native" && $FVERSION == "GNU" ]]; then - echo "CPU autodetect result: $(gfortran -march=native -Q --help=target|grep '^\s\+-march'|awk '{print $2}')" + echo "CPU autodetect result: $($FC -march=native -Q --help=target|grep '^\s\+-march'|awk '{print $2}')" fi break done