config/optimize: add some more optimizations to the 'size' optimization

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2012-07-08 19:13:06 +02:00
parent b80b3e219d
commit f7c3f693eb

View File

@ -18,7 +18,9 @@ fi
if [ "$OPTIMIZATIONS" = size ];then
GCC_OPTIM="$GCC_OPTIM -Os"
LD_OPTIM=""
GCC_OPTIM="$GCC_OPTIM -fexcess-precision=fast"
GCC_OPTIM="$GCC_OPTIM -ffast-math"
LD_OPTIM="-Wl,--as-needed"
fi
if [ "$LTO_SUPPORT" = yes ];then