mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
busybox-initramfs: build with -fwhole-program, build verbose
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
478b67684c
commit
73075eba7f
@ -13,9 +13,7 @@ fi
|
||||
# optimize for size
|
||||
CFLAGS=`echo $CFLAGS | sed -e "s|-O?|-Os|"`
|
||||
|
||||
# Fails to compile using the gold linker.
|
||||
# LDFLAGS=`echo $LDFLAGS | sed -e "s|-fuse-ld=gold||"`
|
||||
# LDFLAGS=`echo $LDFLAGS | sed -e "s|-fuse-linker-plugin||"`
|
||||
LDFLAGS="$LDFLAGS -fwhole-program"
|
||||
|
||||
cd $BUILD/busybox*
|
||||
|
||||
@ -27,4 +25,5 @@ cd $BUILD/busybox*
|
||||
make ARCH=$TARGET_ARCH \
|
||||
HOSTCC=$HOST_CC \
|
||||
CROSS_COMPILE=$TARGET_PREFIX \
|
||||
KBUILD_VERBOSE="1" \
|
||||
install
|
||||
|
Loading…
x
Reference in New Issue
Block a user