Mercurial > hg > aboriginal
comparison sources/sections/gcc.sh @ 1164:3a959ee85558
Make NO_CLEANUP work with sources/sections/gcc.sh
author | Rob Landley <rob@landley.net> |
---|---|
date | Sat, 10 Jul 2010 23:38:51 -0500 |
parents | c222ae88733a |
children | 61e7e9be8eb4 |
comparison
equal
deleted
inserted
replaced
1163:2b05860c6cf1 | 1164:3a959ee85558 |
---|---|
139 [ -z "$NO_CPLUSPLUS" ] && ln -s c++ "$STAGE_DIR/tools/bin/g++" 2>/dev/null | 139 [ -z "$NO_CPLUSPLUS" ] && ln -s c++ "$STAGE_DIR/tools/bin/g++" 2>/dev/null |
140 | 140 |
141 rm -rf "${STAGE_DIR}"/{lib/gcc,libexec/gcc/install-tools,bin/${ARCH}-unknown-*} | 141 rm -rf "${STAGE_DIR}"/{lib/gcc,libexec/gcc/install-tools,bin/${ARCH}-unknown-*} |
142 | 142 |
143 # Little dance so binary package tarball would be called "gcc", not "gcc-core". | 143 # Little dance so binary package tarball would be called "gcc", not "gcc-core". |
144 mv "$WORK"/{*gcc-core,gcc} | 144 if [ -z "$NO_CLEANUP" ] |
145 then | |
146 mv "$WORK"/{*gcc-core,gcc} | |
147 fi | |
145 PACKAGE=gcc cleanup build-gcc | 148 PACKAGE=gcc cleanup build-gcc |