mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-04-11 16:37:45 -04:00
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
This commit is contained in:
parent
66381088e7
commit
b8286d45be
6 changed files with 13 additions and 5 deletions
|
|
@ -24,6 +24,7 @@ $(BOOTLINK): $(BOOTLDS)
|
|||
$(BUILDDIR)/bootloader.elf: $$(OBJ) $$(FIRMLIB) $$(BOOTLINK)
|
||||
$(call PRINTS,LD $(@F))$(CC) $(GCCOPTS) -Os -nostdlib -o $@ $(OBJ) \
|
||||
$(FIRMLIB) -lgcc -L$(BUILDDIR)/firmware -T$(BOOTLINK) \
|
||||
$(GLOBAL_LDOPTS) \
|
||||
-Wl,--gc-sections -Wl,-Map,$(BUILDDIR)/bootloader.map
|
||||
|
||||
$(BUILDDIR)/bootloader.bin : $(BUILDDIR)/bootloader.elf
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue