mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-01 23:17:50 +00:00
lirc:
- disable build with LTO support
This commit is contained in:
parent
d5cbd001c3
commit
93d204d99a
@ -4,6 +4,11 @@
|
||||
|
||||
$SCRIPTS/build toolchain
|
||||
|
||||
# lirc fails 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||"`
|
||||
|
||||
if [ "$DEBUG" = yes ]; then
|
||||
DEBUG_CONFIG="--enable-debug"
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user