Skip to content

Commit 4df4ea7

Browse files
committed
buildsys: remove optimizations=normal
1 parent e2dd1e7 commit 4df4ea7

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

config/optimize

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
1-
if [ "$OPTIMIZATIONS" = normal ];then
2-
GCC_OPTIM="-O2"
3-
LD_OPTIM=""
4-
fi
5-
6-
if [ "$OPTIMIZATIONS" = size ];then
7-
GCC_OPTIM="-Os -fexcess-precision=fast"
8-
LD_OPTIM="-Wl,--as-needed"
9-
fi
1+
GCC_OPTIM="-Os"
2+
LD_OPTIM="-Wl,--as-needed"
103

114
if [ "$LTO_SUPPORT" = yes ];then
125
GCC_OPTIM_LTO="-flto -ffat-lto-objects"

distributions/LibreELEC/options

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
# Build optimizations (size/normal)
2-
OPTIMIZATIONS="size"
3-
41
# LTO (Link Time Optimization) support
52
LTO_SUPPORT="yes"
63

0 commit comments

Comments
 (0)