--- gcc-4.8.2/config-ml.in	2013-05-18 18:13:30.189185810 -0400
+++ gcc-4.8.2/config-ml.in	2013-05-18 18:18:41.970270733 -0400
@@ -465,6 +465,12 @@
 	  done
 	fi
 	;;
+sh4*-*-*)
+	targetlib=$(basename `pwd`)
+	case "${x}" in
+		*) multidirs="" ;;
+	esac
+	;;
 esac
 
 # Remove extraneous blanks from multidirs.
