arm/rp2040: Fix LDFLAGS for boot stage2

This commit is contained in:
Yuichi Nakamura 2021-02-25 23:12:02 +09:00 committed by Xiang Xiao
parent 7fe096c65e
commit a556bbf3a4
1 changed files with 1 additions and 1 deletions

View File

@ -46,6 +46,6 @@ $(BOOT_STAGE2).bin: %.bin: %.elf
$(OBJCOPY) -Obinary $< $@
$(BOOT_STAGE2).elf: $(BOOT2SRC)
$(CC) $(LDFLAGS) $(BOOT2CFLAGS) -o $@ $<
$(CC) -nostartfiles -nodefaultlibs $(ARCHSCRIPT) $(BOOT2CFLAGS) -o $@ $<
EXTRADELFILE = $(BOOT_STAGE2).*