busybox-initramfs:

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

View File

@ -5,6 +5,10 @@
$SCRIPTS/build toolchain
$SCRIPTS/unpack busybox
# 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