--- gcc-4.7.0.orig/config-ml.in	2012-03-22 09:19:32.000000000 -0500
+++ gcc-4.7.0/config-ml.in	2012-03-22 09:38:03.000000000 -0500
@@ -465,6 +465,12 @@
 	  done
 	fi
 	;;
+sh4*-*-*)
+	targetlib=$(basename `pwd`)
+	case "${x}" in
+		*) multidirs="" ;;
+	esac
+	;;
 esac
 
 # Remove extraneous blanks from multidirs.
