mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
config/optimize: simplyfing
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
b5f3d04917
commit
8d83bdc481
@ -32,13 +32,15 @@ if [ "$GRAPHITE_SUPPORT" = yes ];then
|
||||
GCC_OPTIM="$GCC_OPTIM -fgraphite-identity"
|
||||
fi
|
||||
|
||||
if [ "$LTO_SUPPORT" = yes ];then
|
||||
GCC_OPTIM="$GCC_OPTIM -flto"
|
||||
if [ "$LTO_SUPPORT" = yes -o "$GOLD_SUPPORT" = yes ];then
|
||||
LD_OPTIM="$LD_OPTIM -fuse-linker-plugin"
|
||||
fi
|
||||
|
||||
if [ "$LTO_SUPPORT" = yes ];then
|
||||
GCC_OPTIM="$GCC_OPTIM -flto"
|
||||
fi
|
||||
|
||||
if [ "$GOLD_SUPPORT" = yes ];then
|
||||
LD_OPTIM="$LD_OPTIM -fuse-linker-plugin"
|
||||
LD_OPTIM="$LD_OPTIM -fuse-ld=gold"
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user