mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-01 15:07:49 +00:00
xbmc:
- remove lto/gold hack - ensure we dont use size optimization
This commit is contained in:
parent
ffae7a95f9
commit
599e556d55
@ -109,13 +109,9 @@ else
|
|||||||
XBMC_CRYSTALHD="--disable-crystalhd"
|
XBMC_CRYSTALHD="--disable-crystalhd"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Fails to compile with GCC's link time optimization.
|
# ensure we dont use size optimization.
|
||||||
CFLAGS=`echo $CFLAGS | sed -e "s|-flto||" -e "s|-fuse-linker-plugin||"`
|
CFLAGS=`echo $CFLAGS | sed -e "s|-Os|-O3|"`
|
||||||
CXXFLAGS=`echo $CXXFLAGS | sed -e "s|-flto||" -e "s|-fuse-linker-plugin||"`
|
CXXFLAGS=`echo $CXXFLAGS | sed -e "s|-Os|-O3|"`
|
||||||
LDFLAGS=`echo $LDFLAGS | sed -e "s|-flto||" -e "s|-fuse-linker-plugin||"`
|
|
||||||
|
|
||||||
# fixing undefined reference to 'log' in liba52
|
|
||||||
LDFLAGS="$LDFLAGS -lm"
|
|
||||||
|
|
||||||
cd $PKG_BUILD
|
cd $PKG_BUILD
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user