mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
config/optimize: add some more optimizations to the 'size' optimization
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
b80b3e219d
commit
f7c3f693eb
@ -18,7 +18,9 @@ fi
|
|||||||
|
|
||||||
if [ "$OPTIMIZATIONS" = size ];then
|
if [ "$OPTIMIZATIONS" = size ];then
|
||||||
GCC_OPTIM="$GCC_OPTIM -Os"
|
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
|
fi
|
||||||
|
|
||||||
if [ "$LTO_SUPPORT" = yes ];then
|
if [ "$LTO_SUPPORT" = yes ];then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user