mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-26 20:26:41 +00:00
buildsys: remove optimizations=normal
This commit is contained in:
parent
e2dd1e7bd1
commit
4df4ea789c
@ -1,12 +1,5 @@
|
|||||||
if [ "$OPTIMIZATIONS" = normal ];then
|
GCC_OPTIM="-Os"
|
||||||
GCC_OPTIM="-O2"
|
LD_OPTIM="-Wl,--as-needed"
|
||||||
LD_OPTIM=""
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$OPTIMIZATIONS" = size ];then
|
|
||||||
GCC_OPTIM="-Os -fexcess-precision=fast"
|
|
||||||
LD_OPTIM="-Wl,--as-needed"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$LTO_SUPPORT" = yes ];then
|
if [ "$LTO_SUPPORT" = yes ];then
|
||||||
GCC_OPTIM_LTO="-flto -ffat-lto-objects"
|
GCC_OPTIM_LTO="-flto -ffat-lto-objects"
|
||||||
|
@ -1,6 +1,3 @@
|
|||||||
# Build optimizations (size/normal)
|
|
||||||
OPTIMIZATIONS="size"
|
|
||||||
|
|
||||||
# LTO (Link Time Optimization) support
|
# LTO (Link Time Optimization) support
|
||||||
LTO_SUPPORT="yes"
|
LTO_SUPPORT="yes"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user