mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
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
|
@ -154,8 +154,8 @@ endif
|
|||
PLUGINLDFLAGS += $(GLOBAL_LDOPTS)
|
||||
|
||||
ifdef USE_LTO
|
||||
PLUGINFLAGS += -flto -fno-builtin -ffreestanding
|
||||
PLUGINLDFLAGS += -flto -fno-builtin -ffreestanding
|
||||
PLUGINFLAGS += -fno-builtin -ffreestanding
|
||||
PLUGINLDFLAGS += -fno-builtin -ffreestanding
|
||||
PLUGINLDFLAGS += -e plugin_start
|
||||
endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue