config/optimize: add support for -Ofast optimization

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-07-10 23:14:08 +02:00
parent e60e2cb6d2
commit 7a47517ff9

View File

@ -1,3 +1,8 @@
if [ "$OPTIMIZATIONS" = fast ];then
GCC_OPTIM="-Ofast"
LD_OPTIM=""
fi
if [ "$OPTIMIZATIONS" = speed ];then
GCC_OPTIM="-O3"
LD_OPTIM=""
@ -13,7 +18,6 @@ if [ "$OPTIMIZATIONS" = size ];then
LD_OPTIM=""
fi
GCC_OPTIM="$GCC_OPTIM -ffast-math"
GCC_OPTIM="$GCC_OPTIM -ftree-loop-distribution"
GCC_OPTIM="$GCC_OPTIM -floop-interchange"
GCC_OPTIM="$GCC_OPTIM -floop-strip-mine"