mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-04-11 16:37:45 -04:00
build: Newer toolchains need a few tweaks to linker options.
Pull those fixes in now Change-Id: I71c373ecc9d062ca997eb940c7d84a94e2d678aa
This commit is contained in:
parent
e9b8413f49
commit
eb03c7b4d0
4 changed files with 10 additions and 6 deletions
|
|
@ -149,7 +149,7 @@ ifdef APP_TYPE
|
|||
PLUGINFLAGS += $(SHARED_CFLAGS) # <-- from Makefile
|
||||
else
|
||||
PLUGINLDFLAGS = -T$(PLUGINLINK_LDS) -Wl,--gc-sections -Wl,-Map,$*.map
|
||||
OVERLAYLDFLAGS = -T$(OVERLAYREF_LDS) -Wl,--gc-sections -Wl,-Map,$*.refmap
|
||||
OVERLAYLDFLAGS = -T$(OVERLAYREF_LDS) -Wl,--gc-sections -Wl,-Map,$*.refmap $(GLOBAL_LDOPTS)
|
||||
endif
|
||||
PLUGINLDFLAGS += $(GLOBAL_LDOPTS)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue