1
0
Fork 0
forked from len0rd/rockbox

build: Rename SHARED_LDFLAG to SHARED_LDFLAGS

Change-Id: Icb81c72fbcfcdad624112a386ba38a40a830d18f
This commit is contained in:
Solomon Peachy 2021-07-08 18:14:27 -04:00
parent a9f36efa62
commit 2ff3425ab1
4 changed files with 12 additions and 12 deletions

View file

@ -26,7 +26,7 @@ CODECFLAGS := $(CFLAGS) $(RBCODEC_CFLAGS) -fstrict-aliasing \
-I$(RBCODECLIB_DIR)/codecs -I$(RBCODECLIB_DIR)/codecs/lib -DCODEC
ifdef APP_TYPE
CODECLDFLAGS = $(SHARED_LDFLAG) -Wl,--gc-sections -Wl,-Map,$(CODECDIR)/$*.map
CODECLDFLAGS = $(SHARED_LDFLAGS) -Wl,--gc-sections -Wl,-Map,$(CODECDIR)/$*.map
CODECFLAGS += $(SHARED_CFLAGS) # <-- from Makefile
else
CODECLDFLAGS = -T$(CODECLINK_LDS) -Wl,--gc-sections -Wl,-Map,$(CODECDIR)/$*.map