Allows stripping -libstdc++ in master.sh to be able to build gcc-libstdc++

This commit is contained in:
Pierre Labastie 2013-03-27 13:26:27 +00:00
parent 44b831e90a
commit d0c94a3a6e

View file

@ -102,7 +102,9 @@ chapter5_Makefiles() {
# Grab the name of the target (minus the -pass1 or -pass2 in the case of gcc
# and binutils in chapter 5)
name=`echo ${this_script} | sed -e 's@[0-9]\{3\}-@@' -e 's@-pass[0-9]\{1\}@@'`
name=`echo ${this_script} | sed -e 's@[0-9]\{3\}-@@' \
-e 's@-pass[0-9]\{1\}@@' \
-e 's@-libstdc++@@'`
# Set the dependency for the first target.
if [ -z $PREV ] ; then PREV=022-settingenvironment ; fi