buildsys: remove optimizations=normal

This commit is contained in:
Lukas Rusak 2016-09-05 01:06:38 -07:00
parent e2dd1e7bd1
commit 4df4ea789c
No known key found for this signature in database
GPG Key ID: 8C310C807E7393A3
2 changed files with 2 additions and 12 deletions

View File

@ -1,12 +1,5 @@
if [ "$OPTIMIZATIONS" = normal ];then
GCC_OPTIM="-O2"
LD_OPTIM=""
fi
if [ "$OPTIMIZATIONS" = size ];then
GCC_OPTIM="-Os -fexcess-precision=fast"
LD_OPTIM="-Wl,--as-needed"
fi
GCC_OPTIM="-Os"
LD_OPTIM="-Wl,--as-needed"
if [ "$LTO_SUPPORT" = yes ];then
GCC_OPTIM_LTO="-flto -ffat-lto-objects"

View File

@ -1,6 +1,3 @@
# Build optimizations (size/normal)
OPTIMIZATIONS="size"
# LTO (Link Time Optimization) support
LTO_SUPPORT="yes"