You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2021/02/25 19:25:35 UTC
[incubator-nuttx] branch master updated: arm/rp2040: Fix LDFLAGS
for boot stage2
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new a556bbf arm/rp2040: Fix LDFLAGS for boot stage2
a556bbf is described below
commit a556bbf3a4e993273224c47d7d94a9d7283a657c
Author: Yuichi Nakamura <y....@gmail.com>
AuthorDate: Thu Feb 25 23:12:02 2021 +0900
arm/rp2040: Fix LDFLAGS for boot stage2
---
arch/arm/src/rp2040/boot2/Make.defs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/src/rp2040/boot2/Make.defs b/arch/arm/src/rp2040/boot2/Make.defs
index 0ab127f..eb5a207 100644
--- a/arch/arm/src/rp2040/boot2/Make.defs
+++ b/arch/arm/src/rp2040/boot2/Make.defs
@@ -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).*