Skip to content

Commit

Permalink
Merge pull request #338 from tukss/fix-autodetect-error
Browse files Browse the repository at this point in the history
fix error in CPU autodetect message
  • Loading branch information
feathern authored Nov 10, 2021
2 parents 8c0f5e8 + 6641093 commit 7650513
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7650513

Please sign in to comment.