gcc: remove bootstrap path change in do_build()
This commit is contained in:
parent
51ab4a9890
commit
c2c7a3f456
1 changed files with 8 additions and 9 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue