mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
xbmc:
- update link time optimization hack
This commit is contained in:
parent
1b2c78702b
commit
801d59206e
@ -109,10 +109,10 @@ else
|
|||||||
XBMC_CRYSTALHD="--disable-crystalhd"
|
XBMC_CRYSTALHD="--disable-crystalhd"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# xbmc fails to compile with GCC 4.5.0's link time optimization.
|
# Fails to compile with GCC's link time optimization.
|
||||||
CFLAGS=`echo $CFLAGS | sed -e "s|-flto||" -e "s|-fuse-linker-plugin||" -e "s|-fwhole-program||"`
|
CFLAGS=`echo $CFLAGS | sed -e "s|-flto||" -e "s|-fuse-linker-plugin||"`
|
||||||
CXXFLAGS=`echo $CXXFLAGS | 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||"`
|
||||||
LDFLAGS=`echo $LDFLAGS | 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||"`
|
||||||
|
|
||||||
# fixing undefined reference to 'log' in liba52
|
# fixing undefined reference to 'log' in liba52
|
||||||
LDFLAGS="$LDFLAGS -lm"
|
LDFLAGS="$LDFLAGS -lm"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user