mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
busybox-initramfs: dont build with LTO support, forcing optimizing for size if using -Ofast
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
e9995dcc04
commit
fe52082151
@ -31,7 +31,11 @@ else
|
||||
fi
|
||||
|
||||
# optimize for size
|
||||
CFLAGS=`echo $CFLAGS | sed -e "s|-O.|-Os|"`
|
||||
# CFLAGS=`echo $CFLAGS | sed -e "s|-Ofast|-Os|"`
|
||||
# CFLAGS=`echo $CFLAGS | sed -e "s|-O.|-Os|"`
|
||||
|
||||
# fails to build with gcc-4.6.1
|
||||
strip_lto
|
||||
|
||||
LDFLAGS="$LDFLAGS -fwhole-program"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user