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 1bf78d82c1..76cdea63f0 100644
--- a/apps/plugins/plugins.make
+++ b/apps/plugins/plugins.make
@@ -105,7 +105,7 @@ $(BUILDDIR)/apps/plugins/%.o: $(ROOTDIR)/apps/plugins/%.c
105 $(call PRINTS,CC $(subst $(ROOTDIR)/,,$<))$(CC) -I$(dir $<) $(PLUGINFLAGS) -c $< -o $@ 105 $(call PRINTS,CC $(subst $(ROOTDIR)/,,$<))$(CC) -I$(dir $<) $(PLUGINFLAGS) -c $< -o $@
106 106
107ifdef APP_TYPE 107ifdef APP_TYPE
108 PLUGINLDFLAGS = $(SHARED_LDFLAG) # <-- from Makefile 108 PLUGINLDFLAGS = $(SHARED_LDFLAG) -Wl,-Map,$*.map
109 PLUGINFLAGS += $(SHARED_CFLAGS) # <-- from Makefile 109 PLUGINFLAGS += $(SHARED_CFLAGS) # <-- from Makefile
110else 110else
111 PLUGINLDFLAGS = -T$(PLUGINLINK_LDS) -Wl,--gc-sections -Wl,-Map,$*.map 111 PLUGINLDFLAGS = -T$(PLUGINLINK_LDS) -Wl,--gc-sections -Wl,-Map,$*.map