mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
upower:
- disable build with LTO support
This commit is contained in:
parent
e9ca36582a
commit
d6a8483130
@ -9,6 +9,11 @@ $SCRIPTS/build dbus
|
||||
$SCRIPTS/build dbus-glib
|
||||
$SCRIPTS/build polkit
|
||||
|
||||
# upower to compile with GCC 4.5.0's link time optimization.
|
||||
CFLAGS=`echo $CFLAGS | sed -e "s|-flto||" -e "s|-fuse-linker-plugin||" -e "s|-fwhole-program||"`
|
||||
CXXFLAGS=`echo $CXXFLAGS | sed -e "s|-flto||" -e "s|-fuse-linker-plugin||" -e "s|-fwhole-program||"`
|
||||
LDFLAGS=`echo $LDFLAGS | sed -e "s|-flto||" -e "s|-fuse-linker-plugin||" -e "s|-fwhole-program||"`
|
||||
|
||||
cd $PKG_BUILD
|
||||
./configure --host=$TARGET_NAME \
|
||||
--build=$HOST_NAME \
|
||||
|
Loading…
x
Reference in New Issue
Block a user