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

@ -50,7 +50,7 @@ ifdef APP_TYPE
# This is the SDL simulator version
$(OUTPUT): $(OBJS)
$(call PRINTS,LD $(@F))$(CC) $(CFLAGS) $(SHARED_LDFLAG) $(OBJS) -L$(BUILDDIR) -lplugin -o $@
$(call PRINTS,LD $(@F))$(CC) $(CFLAGS) $(SHARED_LDFLAGS) $(OBJS) -L$(BUILDDIR) -lplugin -o $@
ifeq ($(findstring CYGWIN,$(UNAME)),CYGWIN)
# 'x' must be kept or you'll have "Win32 error 5"
# $ fgrep 5 /usr/include/w32api/winerror.h | head -1

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