1
0
Fork 0
forked from len0rd/rockbox

build: Newer toolchains need a few tweaks to linker options.

Pull those fixes in now

Change-Id: I71c373ecc9d062ca997eb940c7d84a94e2d678aa
This commit is contained in:
Solomon Peachy 2025-09-07 15:40:44 -04:00
parent e9b8413f49
commit eb03c7b4d0
4 changed files with 10 additions and 6 deletions

View file

@ -49,7 +49,7 @@ ifndef APP_TYPE
WOLF3D_OUTLDS = $(SDL_OBJDIR)/wolf3d.link
QUAKE_OUTLDS = $(SDL_OBJDIR)/quake.link
SDL_OVLFLAGS = -Wl,--gc-sections -Wl,-Map,$(basename $@).map
SDL_OVLFLAGS = -Wl,--gc-sections -Wl,-Map,$(basename $@).map $(GLOBAL_LDOPTS)
else
### simulator
ROCKS += $(SDL_OBJDIR)/duke3d.rock