mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
busybox: fails to build with GOLD support enabled with binutils-2.25
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
9d49b1a8c0
commit
7a7f19d10c
@ -123,6 +123,9 @@ configure_target() {
|
||||
CFLAGS=`echo $CFLAGS | sed -e "s|-Ofast|-Os|"`
|
||||
CFLAGS=`echo $CFLAGS | sed -e "s|-O.|-Os|"`
|
||||
|
||||
# busybox fails to build with GOLD support enabled with binutils-2.25
|
||||
strip_gold
|
||||
|
||||
LDFLAGS="$LDFLAGS -fwhole-program"
|
||||
|
||||
make oldconfig
|
||||
@ -139,6 +142,9 @@ configure_init() {
|
||||
CFLAGS=`echo $CFLAGS | sed -e "s|-Ofast|-Os|"`
|
||||
CFLAGS=`echo $CFLAGS | sed -e "s|-O.|-Os|"`
|
||||
|
||||
# busybox fails to build with GOLD support enabled with binutils-2.25
|
||||
strip_gold
|
||||
|
||||
LDFLAGS="$LDFLAGS -fwhole-program"
|
||||
|
||||
make oldconfig
|
||||
|
Loading…
x
Reference in New Issue
Block a user