summaryrefslogtreecommitdiff
path: root/apps/plugins/plugins.make
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2009-03-03 08:28:50 +0000
committerJens Arnold <amiconn@rockbox.org>2009-03-03 08:28:50 +0000
commitf42b93480e3f8d834cd5718925e08cced31d419d (patch)
tree8f36c7e1672531374b6953c10b97e667c33deb33 /apps/plugins/plugins.make
parentdcf751e86d857fc968cf42e172ae54c4051b1269 (diff)
downloadrockbox-f42b93480e3f8d834cd5718925e08cced31d419d.tar.gz
rockbox-f42b93480e3f8d834cd5718925e08cced31d419d.zip
Bring back -fdata-sections that got lost in the make system overhaul (r19146).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20191 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/plugins.make')
-rw-r--r--apps/plugins/plugins.make4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/plugins.make b/apps/plugins/plugins.make
index 58e05473e7..f6b1b003a0 100644
--- a/apps/plugins/plugins.make
+++ b/apps/plugins/plugins.make
@@ -66,10 +66,10 @@ $(BUILDDIR)/credits.raw credits.raw: $(DOCSDIR)/CREDITS
66# special dependencies 66# special dependencies
67$(BUILDDIR)/apps/plugins/wav2wv.rock: $(BUILDDIR)/apps/codecs/libwavpack.a $(PLUGINLIB) 67$(BUILDDIR)/apps/plugins/wav2wv.rock: $(BUILDDIR)/apps/codecs/libwavpack.a $(PLUGINLIB)
68 68
69# special pattern rule for compiling plugin lib (with -ffunction-sections) 69# special pattern rule for compiling plugin lib (with function and data sections)
70$(BUILDDIR)/apps/plugins/lib/%.o: $(ROOTDIR)/apps/plugins/lib/%.c 70$(BUILDDIR)/apps/plugins/lib/%.o: $(ROOTDIR)/apps/plugins/lib/%.c
71 $(SILENT)mkdir -p $(dir $@) 71 $(SILENT)mkdir -p $(dir $@)
72 $(call PRINTS,CC $(subst $(ROOTDIR)/,,$<))$(CC) -I$(dir $<) $(PLUGINFLAGS) -ffunction-sections -c $< -o $@ 72 $(call PRINTS,CC $(subst $(ROOTDIR)/,,$<))$(CC) -I$(dir $<) $(PLUGINFLAGS) -ffunction-sections -fdata-sections -c $< -o $@
73 73
74# special pattern rule for compiling plugins with extra flags 74# special pattern rule for compiling plugins with extra flags
75$(BUILDDIR)/apps/plugins/%.o: $(ROOTDIR)/apps/plugins/%.c $(PLUGINBITMAPLIB) 75$(BUILDDIR)/apps/plugins/%.o: $(ROOTDIR)/apps/plugins/%.c $(PLUGINBITMAPLIB)