diff --git a/gcc/cp/Make-lang.in b/gcc/cp/Make-lang.in index c1e9334fb56..db29d9a4ae2 100644 --- a/gcc/cp/Make-lang.in +++ b/gcc/cp/Make-lang.in @@ -89,7 +89,7 @@ c++.install-normal: # and also as either g++ (if native) or $(tooldir)/bin/g++. c++.install-common: -if [ -f cc1plus ] ; then \ - if [ -f gcc-cross ] ; then \ + if [ -f g++-cross ] ; then \ rm -f $(bindir)/$(target)-g++; \ $(INSTALL_PROGRAM) g++-cross $(bindir)/$(target)-g++; \ chmod a+x $(bindir)/$(target)-g++; \