xbmc: fails to build with lto optimization

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-11-27 03:14:05 +01:00
parent 7ffd7f994b
commit c699b74da6

View File

@ -56,6 +56,9 @@ else
XBMC_CRYSTALHD="--disable-crystalhd"
fi
# xbmc (ffmpeg) fails to build with LTO optimization
strip_lto
# dont use some optimizations because of problems
# this fixes problems with faac implementation of ffmpeg
LDFLAGS=`echo $LDFLAGS | sed -e "s|-Wl,--as-needed||"`