forked from len0rd/rockbox
build: Allow LTO to work globally, not just codecs/plugins
IMPORTANT: There is no guarantee this will compile cleanly much less _work_ on any given target. This is purely to enable future hackery. Change-Id: Ib58f21b717719fd4325622b446a60779406ae035
This commit is contained in:
parent
200529532b
commit
bdf1690cb2
4 changed files with 10 additions and 5 deletions
2
tools/configure
vendored
2
tools/configure
vendored
|
|
@ -1079,7 +1079,7 @@ S(m)all C lib, Logf to Ser(i)al port, LTO Build(X), (E)rror on warnings"
|
|||
[Xx])
|
||||
echo "LTO build enabled"
|
||||
LTO_ARG="export USE_LTO=y"
|
||||
# GCCOPTS="$GCCOPTS -flto"
|
||||
GCCOPTS="$GCCOPTS -flto"
|
||||
;;
|
||||
[Ee])
|
||||
echo "Treating all warnings as errors"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue