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
|
@ -34,8 +34,8 @@ endif
|
|||
CODECLDFLAGS += $(GLOBAL_LDOPTS)
|
||||
|
||||
ifdef USE_LTO
|
||||
CODECLDFLAGS += -flto -fno-builtin -ffreestanding
|
||||
CODECFLAGS += -flto -fno-builtin -ffreestanding
|
||||
CODECLDFLAGS += -fno-builtin -ffreestanding
|
||||
CODECFLAGS += -fno-builtin -ffreestanding
|
||||
CODECLDFLAGS += -e __header
|
||||
endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue