From b8286d45be0cdaffccfe684dde7385e2c042141d Mon Sep 17 00:00:00 2001 From: Frank Gevaerts Date: Sat, 3 Jul 2010 20:58:22 +0000 Subject: Move -Wl,-z,defs to GLOBAL_LDOPTS (instead of GCCOPTS), to avoid noise in older gcc output when not linking git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27260 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/plugins.make | 1 + 1 file changed, 1 insertion(+) (limited to 'apps/plugins/plugins.make') diff --git a/apps/plugins/plugins.make b/apps/plugins/plugins.make index febc80a..4bd0cc9 100644 --- a/apps/plugins/plugins.make +++ b/apps/plugins/plugins.make @@ -87,6 +87,7 @@ else PLUGINLDFLAGS = -T$(PLUGINLINK_LDS) -Wl,--gc-sections -Wl,-Map,$*.map OVERLAYLDFLAGS = -T$(OVERLAYREF_LDS) -Wl,--gc-sections -Wl,-Map,$*.refmap endif +PLUGINLDFLAGS += $(GLOBAL_LDOPTS) $(BUILDDIR)/%.rock: $(call PRINTS,LD $(@F))$(CC) $(PLUGINFLAGS) -o $(BUILDDIR)/$*.elf \ -- cgit v1.1