diff --git a/configure b/configure index 54d0339ab9ea..c2f51ffcebbc 100755 --- a/configure +++ b/configure @@ -3937,7 +3937,7 @@ case "${target}" in nvptx*-*-*) noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc" ;; - sh-*-*) + sh*-*-*) case "${target}" in sh*-*-elf) ;; diff --git a/configure.ac b/configure.ac index a910c4fd6ba7..a93d93c81c33 100644 --- a/configure.ac +++ b/configure.ac @@ -1178,7 +1178,7 @@ case "${target}" in nvptx*-*-*) noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc" ;; - sh-*-*) + sh*-*-*) case "${target}" in sh*-*-elf) ;;