mirror of
https://github.com/apache/nuttx.git
synced 2026-06-02 17:48:54 +08:00
boards: Remove -nostartfiles -nodefaultlibs from LDFLAGS
This commit is contained in:
committed by
Xiang Xiao
parent
c68880c0d7
commit
099e9fb4f7
@@ -53,9 +53,6 @@ NXFLATLDFLAGS1 = -r -d -warn-common
|
||||
NXFLATLDFLAGS2 = $(NXFLATLDFLAGS1) -T$(TOPDIR)/binfmt/libnxflat/gnu-nxflat-pcrel.ld -no-check-sections
|
||||
LDNXFLATFLAGS = -e main -s 2048
|
||||
|
||||
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||
endif
|
||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||
LDFLAGS += -g
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user