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

@ -112,7 +112,7 @@ $(BUILDDIR)/apps/plugins/%.o: $(ROOTDIR)/apps/plugins/%.c
$(call PRINTS,CC $(subst $(ROOTDIR)/,,$<))$(CC) -I$(dir $<) $(PLUGINFLAGS) -c $< -o $@
ifdef APP_TYPE
PLUGINLDFLAGS = $(SHARED_LDFLAG) -Wl,-Map,$*.map
PLUGINLDFLAGS = $(SHARED_LDFLAGS) -Wl,-Map,$*.map
PLUGINFLAGS += $(SHARED_CFLAGS) # <-- from Makefile
else
PLUGINLDFLAGS = -T$(PLUGINLINK_LDS) -Wl,--gc-sections -Wl,-Map,$*.map