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