summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2021-07-08 18:14:27 -0400
committerSolomon Peachy <pizza@shaftnet.org>2021-07-08 19:53:05 -0400
commit2ff3425ab1685a1445cc330eca15a78025c1903a (patch)
tree3b7417aba51d5d26ba19cce0a5637eb685ff2481 /apps/plugins
parenta9f36efa62c0f095994e2a711a689b3b3e81aea2 (diff)
downloadrockbox-2ff3425ab1685a1445cc330eca15a78025c1903a.tar.gz
rockbox-2ff3425ab1685a1445cc330eca15a78025c1903a.zip
build: Rename SHARED_LDFLAG to SHARED_LDFLAGS
Change-Id: Icb81c72fbcfcdad624112a386ba38a40a830d18f
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/lua/Makefile2
-rw-r--r--apps/plugins/plugins.make2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/lua/Makefile b/apps/plugins/lua/Makefile
index dcf2910c36..a9c8c22099 100644
--- a/apps/plugins/lua/Makefile
+++ b/apps/plugins/lua/Makefile
@@ -50,7 +50,7 @@ ifdef APP_TYPE
50# This is the SDL simulator version 50# This is the SDL simulator version
51 51
52$(OUTPUT): $(OBJS) 52$(OUTPUT): $(OBJS)
53 $(call PRINTS,LD $(@F))$(CC) $(CFLAGS) $(SHARED_LDFLAG) $(OBJS) -L$(BUILDDIR) -lplugin -o $@ 53 $(call PRINTS,LD $(@F))$(CC) $(CFLAGS) $(SHARED_LDFLAGS) $(OBJS) -L$(BUILDDIR) -lplugin -o $@
54ifeq ($(findstring CYGWIN,$(UNAME)),CYGWIN) 54ifeq ($(findstring CYGWIN,$(UNAME)),CYGWIN)
55# 'x' must be kept or you'll have "Win32 error 5" 55# 'x' must be kept or you'll have "Win32 error 5"
56# $ fgrep 5 /usr/include/w32api/winerror.h | head -1 56# $ fgrep 5 /usr/include/w32api/winerror.h | head -1
diff --git a/apps/plugins/plugins.make b/apps/plugins/plugins.make
index 71eaeb52c0..ac94a04c59 100644
--- a/apps/plugins/plugins.make
+++ b/apps/plugins/plugins.make
@@ -112,7 +112,7 @@ $(BUILDDIR)/apps/plugins/%.o: $(ROOTDIR)/apps/plugins/%.c
112 $(call PRINTS,CC $(subst $(ROOTDIR)/,,$<))$(CC) -I$(dir $<) $(PLUGINFLAGS) -c $< -o $@ 112 $(call PRINTS,CC $(subst $(ROOTDIR)/,,$<))$(CC) -I$(dir $<) $(PLUGINFLAGS) -c $< -o $@
113 113
114ifdef APP_TYPE 114ifdef APP_TYPE
115 PLUGINLDFLAGS = $(SHARED_LDFLAG) -Wl,-Map,$*.map 115 PLUGINLDFLAGS = $(SHARED_LDFLAGS) -Wl,-Map,$*.map
116 PLUGINFLAGS += $(SHARED_CFLAGS) # <-- from Makefile 116 PLUGINFLAGS += $(SHARED_CFLAGS) # <-- from Makefile
117else 117else
118 PLUGINLDFLAGS = -T$(PLUGINLINK_LDS) -Wl,--gc-sections -Wl,-Map,$*.map 118 PLUGINLDFLAGS = -T$(PLUGINLINK_LDS) -Wl,--gc-sections -Wl,-Map,$*.map