Skip to content
Browse files

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

Signed-off-by: Stephan Raue <stephan@openelec.tv>
  • Loading branch information...
1 parent b80b3e2 commit f7c3f693eb29f0731853197d515f7ed2fa276b19 @sraue sraue committed Jul 8, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 config/optimize
View
4 config/optimize
@@ -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

0 comments on commit f7c3f69

Please sign in to comment.
Something went wrong with that request. Please try again.