summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Robbins <drobbins@gentoo.org>2002-03-21 16:15:44 +0000
committerDaniel Robbins <drobbins@gentoo.org>2002-03-21 16:15:44 +0000
commit3252cf224576941ece195884cbf7e6125758c15a (patch)
tree4a4120e079c1b3bd08f75eabb5367fd33ddc6624 /scripts
parentno more gzipped html documentation (diff)
downloadgentoo-2-3252cf224576941ece195884cbf7e6125758c15a.tar.gz
gentoo-2-3252cf224576941ece195884cbf7e6125758c15a.tar.bz2
gentoo-2-3252cf224576941ece195884cbf7e6125758c15a.zip
bootstrap use var
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/bootstrap.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh
index 8cfd3fcb0f75..9824dac14141 100755
--- a/scripts/bootstrap.sh
+++ b/scripts/bootstrap.sh
@@ -37,7 +37,7 @@ cleanup() {
#USE may be set from the environment so we back it up for later.
export ORIGUSE="`$PYTHON -c 'import portage; print portage.settings["USE"];'`"
export GENTOO_MIRRORS="`$PYTHON -c 'import portage; print portage.settings["GENTOO_MIRRORS"];'`"
-export USE="build"
+export USE="-* build bootstrap"
#get correct CFLAGS, CHOST, CXXFLAGS, MAKEOPTS since make.conf will be
#overwritten
cp /etc/make.conf /etc/make.conf.build
@@ -70,7 +70,7 @@ cd /usr/portage
emerge $myPORTAGE #separate, so that the next command uses the *new* emerge
emerge $myBASELAYOUT $myGETTEXT $myBINUTILS $myGCC || cleanup 1
#make.conf has been overwritten, so we explicitly export our original settings
-export USE="$ORIGUSE"
+export USE="$ORIGUSE bootstrap"
emerge $myGLIBC $myBASELAYOUT $myGETTEXT $myBINUTILS $myGCC || cleanup 1
#restore original make.conf
cleanup 0