- dont use gold linker
This commit is contained in:
Stephan Raue 2010-06-03 16:50:07 +02:00
parent 820f724f84
commit 2ef61bad7a

View File

@ -6,6 +6,10 @@ $SCRIPTS/build toolchain
$SCRIPTS/unpack busybox
$SCRIPTS/build Linux-PAM
# busybox fails to compile using the gold linker
CFLAGS=`echo $CFLAGS | sed -e "s|-fuse-linker-plugin||" -e "s|-fuse-ld=gold||"`
LDFLAGS=`echo $LDFLAGS | sed -e "s|-fuse-linker-plugin||" -e "s|-fuse-ld=gold||"`
PKG_DIR=`find $PACKAGES -type d -name $1`
if [ -f $PROJECT_DIR/$PROJECT/busybox/$1.conf ]; then