summaryrefslogtreecommitdiff
path: root/rbutil/libtools.make
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2011-12-16 20:25:56 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2011-12-16 20:25:56 +0000
commit6c6123143faff8e0f85cba71812f1bd9cb2fdc77 (patch)
tree088c3e6bc29e6a5b6f0bbafa02b2492383fd3fef /rbutil/libtools.make
parent8be58fd8ec6841cf7bb2597ab0c8986bd3292b3f (diff)
ipodpatcher: move linker only options out of CFLAGS.
OS X requires some linker-only options. Remove them from CFLAGS to avoid a compiler warning. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31330 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/libtools.make')
-rw-r--r--rbutil/libtools.make2
1 files changed, 1 insertions, 1 deletions
diff --git a/rbutil/libtools.make b/rbutil/libtools.make
index 43ef3d9386..1ba0f77f72 100644
--- a/rbutil/libtools.make
+++ b/rbutil/libtools.make
@@ -82,7 +82,7 @@ $(BINARY): $(OBJS) $(EXTRADEPS) $(addprefix $(OBJDIR),$(EXTRALIBOBJS))
@echo LD $@
# $(SILENT)mkdir -p $(dir $@)
# EXTRADEPS need to be built into OBJDIR.
- $(SILENT)$(CROSS)$(CC) $(CFLAGS) -o $(BINARY) \
+ $(SILENT)$(CROSS)$(CC) $(CFLAGS) $(LDOPTS) -o $(BINARY) \
$(OBJS) $(addprefix $(OBJDIR),$(EXTRADEPS)) \
$(addprefix $(OBJDIR),$(EXTRALIBOBJS))