mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +08:00
boards: Remove -nostartfiles -nodefaultlibs from LDFLAGS
This commit is contained in:
committed by
Xiang Xiao
parent
c68880c0d7
commit
099e9fb4f7
@@ -80,9 +80,6 @@ NXFLATLDFLAGS2 = $(NXFLATLDFLAGS1) \
|
||||
-no-check-sections
|
||||
LDNXFLATFLAGS = -e main -s 2048
|
||||
|
||||
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||
endif
|
||||
ifeq ($(CONFIG_DEBUG_FEATURES),y)
|
||||
LDFLAGS += -g
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user