Optimizing Prelink for speed.
This commit is contained in:
parent
b74322b19e
commit
3da7ef77b3
|
@ -190,16 +190,16 @@ fi
|
|||
let STAGE_CNT++
|
||||
|
||||
# disable prelink
|
||||
if [ $STAGE_CNT -eq $STAGE ]; then
|
||||
echo "======= STAGE $STAGE: disable prelink ======="
|
||||
if [ `which prelink 2>/dev/null` ]; then
|
||||
$NICE_CMD prelink -ua 2>/dev/null
|
||||
[ 0 -ne $? ] && echo "Stage $STAGE: prelink disabling failed ;-( =======" && exit $STAGE
|
||||
fi
|
||||
|
||||
let STAGE++
|
||||
fi
|
||||
let STAGE_CNT++
|
||||
#if [ $STAGE_CNT -eq $STAGE ]; then
|
||||
# echo "======= STAGE $STAGE: disable prelink ======="
|
||||
# if [ `which prelink 2>/dev/null` ]; then
|
||||
# $NICE_CMD prelink -ua 2>/dev/null
|
||||
# [ 0 -ne $? ] && echo "Stage $STAGE: prelink disabling failed ;-( =======" && exit $STAGE
|
||||
# fi
|
||||
#
|
||||
# let STAGE++
|
||||
#fi
|
||||
#let STAGE_CNT++
|
||||
|
||||
# Test for necessity to upgrade toolchain packages
|
||||
if [ $STAGE_CNT -eq $STAGE ]; then
|
||||
|
@ -449,7 +449,7 @@ let STAGE_CNT++
|
|||
if [ $STAGE_CNT -eq $STAGE ]; then
|
||||
echo "======= STAGE $STAGE: Prelink libraries ======="
|
||||
if [ `which prelink 2>/dev/null` ]; then
|
||||
$NICE_CMD prelink -avfmR
|
||||
$NICE_CMD prelink -avfmRq
|
||||
[ 0 -ne $? ] && echo "Stage $STAGE: prelink -avfmR failed ;-( =======" && exit $STAGE
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue