summaryrefslogtreecommitdiff
path: root/apps/plugins/plugins.make
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/plugins.make')
-rw-r--r--apps/plugins/plugins.make2
1 files changed, 1 insertions, 1 deletions
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