Fix typo masquarading (#5093)

This commit is contained in:
H. Joe Lee 2024-11-13 22:04:44 -06:00 committed by GitHub
parent 915a7ab591
commit ac04b8698f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -178,7 +178,7 @@ case "$CC" in
kind="gcc" kind="gcc"
;; ;;
mpicc|mpcc|mpicc_r) mpicc|mpcc|mpicc_r)
# Is this gcc masquarading as an MPI compiler? # Is this gcc masquerading as an MPI compiler?
if test "`${CC} -v 2>&1 | sed -n 2p | cut -c1-3`" = "gcc"; then if test "`${CC} -v 2>&1 | sed -n 2p | cut -c1-3`" = "gcc"; then
kind="gcc" kind="gcc"
else else

View File

@ -174,7 +174,7 @@ case "$CXX" in
kind="gcc" kind="gcc"
;; ;;
mpicc|mpcc|mpicc_r) mpicc|mpcc|mpicc_r)
# Is this gcc masquarading as an MPI compiler? # Is this gcc masquerading as an MPI compiler?
if test "`${CXX} -v 2>&1 | sed -n 2p | cut -c1-3`" = "gcc"; then if test "`${CXX} -v 2>&1 | sed -n 2p | cut -c1-3`" = "gcc"; then
kind="gcc" kind="gcc"
else else