Skip to content

Commit 7650513

Browse files
authored
Merge pull request #338 from tukss/fix-autodetect-error
fix error in CPU autodetect message
2 parents 8c0f5e8 + 6641093 commit 7650513

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -752,7 +752,7 @@ then
752752
fi
753753
FFLAGS[0]="${OPT_FLAGS} -march=${opt}"
754754
if [[ "$opt" == "native" && $FVERSION == "GNU" ]]; then
755-
echo "CPU autodetect result: $(gfortran -march=native -Q --help=target|grep '^\s\+-march'|awk '{print $2}')"
755+
echo "CPU autodetect result: $($FC -march=native -Q --help=target|grep '^\s\+-march'|awk '{print $2}')"
756756
fi
757757
break
758758
done

0 commit comments

Comments
 (0)