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
This commit is contained in:
parent
8be58fd8ec
commit
6c6123143f
2 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@ endif
|
|||
|
||||
ifeq ($(findstring Darwin,$(shell uname)),Darwin)
|
||||
# additional frameworks to link on on OS X
|
||||
CFLAGS += -framework CoreFoundation -framework IOKit
|
||||
LDOPTS += -framework CoreFoundation -framework IOKit
|
||||
endif
|
||||
|
||||
LIBSOURCES = ipodpatcher.c fat32format.c arc4.c \
|
||||
|
|
|
@ -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))
|
||||
|
||||
|
|
Loading…
Reference in a new issue