gcc: remove bootstrap path change in do_build()

This commit is contained in:
davehome 2011-10-17 16:33:11 +00:00
parent 51ab4a9890
commit c2c7a3f456
1 changed files with 8 additions and 9 deletions

View File

@ -66,7 +66,6 @@ fi
do_configure()
{
set +e
if [ -n "$BOOTSTRAP_PKG_REBUILD" ]; then
unset LD_LIBRARY_PATH LDLIBPATH LDFLAGS CPPFLAGS
local SAVEDPATH=$PATH
@ -90,19 +89,19 @@ do_configure()
--enable-checking=release
[ -n "$BOOTSTRAP_PKG_REBUILD" ] && export PATH=$SAVEDPATH
set -e
}
do_build()
{
if [ -n "$BOOTSTRAP_PKG_REBUILD" ]; then
unset LD_LIBRARY_PATH LDLIBPATH LDFLAGS CPPFLAGS
local SAVEDPATH=$PATH
export PATH="/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin"
fi
set +e
# if [ -n "$BOOTSTRAP_PKG_REBUILD" ]; then
# unset LD_LIBRARY_PATH LDLIBPATH LDFLAGS CPPFLAGS
# local SAVEDPATH=$PATH
# export PATH="/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin"
# fi
make ${makejobs}
[ -n "$BOOTSTRAP_PKG_REBUILD" ] && export PATH=$SAVEDPATH
make ${makejobs} || return 1
# [ -n "$BOOTSTRAP_PKG_REBUILD" ] && export PATH=$SAVEDPATH
}
do_install()