xbmc: disable building with LTO support only if build without GOLD support

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2013-05-12 18:40:20 +02:00
parent 7a0ac909da
commit 110922d392

View File

@ -230,8 +230,8 @@ else
XBMC_CRYSTALHD="--disable-crystalhd"
fi
# xbmc fails to build with LTO optimization
strip_lto
# xbmc fails to build with LTO optimization if build without GOLD support
[ ! "$GOLD_SUPPORT" = "yes" ] && strip_lto
# dont build parallel
# MAKEFLAGS=-j1