forked from len0rd/rockbox
simulator: fix missing Werror option + eliminate lib duplicate
configure: Ensure Werror option doesn't get lost when simcc resets GCCOPTS uisimulator.make: Remove ignored duplicate SIMLIB on Darwin codecs.make: Eliminate some redundancy Change-Id: Ieee6f677fd22666cb58aa6fe53eabdc0b0f8c190
This commit is contained in:
parent
0bb79dd847
commit
a86b1999d0
3 changed files with 8 additions and 8 deletions
|
@ -32,10 +32,10 @@ $(SIMLIB): $$(SIMOBJ) $(UIBMP)
|
|||
|
||||
$(BUILDDIR)/$(BINARY): $$(OBJ) $(FIRMLIB) $(VOICESPEEXLIB) $(CORE_LIBS) $(SIMLIB)
|
||||
ifeq ($(UNAME), Darwin)
|
||||
$(call PRINTS,LD $(BINARY))$(CC) -o $@ $^ $(SIMLIB) $(LDOPTS) $(GLOBAL_LDOPTS) -Wl,-map,$(BUILDDIR)/rockbox.map
|
||||
$(call PRINTS,LD $(BINARY))$(CC) -o $@ $^ $(LDOPTS) $(GLOBAL_LDOPTS) -Wl,$(LDMAP_OPT),$(BUILDDIR)/rockbox.map
|
||||
else
|
||||
$(call PRINTS,LD $(BINARY))$(CC) -o $@ -Wl,--start-group $^ -Wl,--end-group $(LDOPTS) $(GLOBAL_LDOPTS) \
|
||||
-Wl,-Map,$(BUILDDIR)/rockbox.map
|
||||
-Wl,$(LDMAP_OPT),$(BUILDDIR)/rockbox.map
|
||||
endif
|
||||
$(SILENT)$(call objcopy,$@,$@)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue