plugins: chessbox: respect GLOBAL_LDOPTS

Change-Id: Ia9b20c24f91a7fd9fa7b0a73e352199aeaf6dd05
This commit is contained in:
mojyack 2026-04-25 01:01:01 +09:00
parent 2053bba561
commit 790a8aa560

View file

@ -19,7 +19,7 @@ ifeq ($(findstring YES, $(call preprocess, $(APPSDIR)/plugins/BUILD_OVERLAY)), Y
### lowmem targets
ROCKS += $(CHESSBOX_OBJDIR)/chessbox.ovl
CHESSBOX_OUTLDS = $(CHESSBOX_OBJDIR)/chessbox.link
CHESSBOX_OVLFLAGS = -T$(CHESSBOX_OUTLDS) -Wl,--gc-sections -Wl,-Map,$(basename $@).map
CHESSBOX_OVLFLAGS = -T$(CHESSBOX_OUTLDS) -Wl,--gc-sections -Wl,-Map,$(basename $@).map $(GLOBAL_LDOPTS)
else
ROCKS += $(CHESSBOX_OBJDIR)/chessbox.rock
endif