mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-31 14:37:59 +00:00
udev:
- use system optimization - disable LTO support
This commit is contained in:
parent
5b04693940
commit
6c41f414ea
@ -8,7 +8,9 @@ $SCRIPTS/build pciutils
|
|||||||
$SCRIPTS/build usbutils
|
$SCRIPTS/build usbutils
|
||||||
$SCRIPTS/build libusb-compat
|
$SCRIPTS/build libusb-compat
|
||||||
|
|
||||||
export CFLAGS="-Os"
|
# Fails to compile with GCC's link time optimization (appears to be libtool related).
|
||||||
|
CFLAGS=`echo $CFLAGS | sed -e "s|-flto||" -e "s|-fuse-linker-plugin||"`
|
||||||
|
LDFLAGS=`echo $LDFLAGS | sed -e "s|-flto||" -e "s|-fuse-linker-plugin||" -e "s|-fwhole-program||"`
|
||||||
|
|
||||||
cd $PKG_BUILD
|
cd $PKG_BUILD
|
||||||
autoreconf
|
autoreconf
|
||||||
|
Loading…
x
Reference in New Issue
Block a user