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
commitc45f4bd6fdcadd464957795fd8927d9ffcad98b2 (patch)
treeb96592886ab85eb5a4edcd897321b32167e2fe08 /scripts/bootstrap.sh
parentno more gzipped html documentation (diff)
downloadhistorical-c45f4bd6fdcadd464957795fd8927d9ffcad98b2.tar.gz
historical-c45f4bd6fdcadd464957795fd8927d9ffcad98b2.tar.bz2
historical-c45f4bd6fdcadd464957795fd8927d9ffcad98b2.zip
bootstrap use var
Diffstat (limited to 'scripts/bootstrap.sh')
-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