pkarashchenko commented on a change in pull request #5756:
URL: https://github.com/apache/incubator-nuttx/pull/5756#discussion_r827720255
##########
File path: boards/sim/sim/sim/scripts/Make.defs
##########
@@ -209,6 +209,7 @@ endif
LDELFFLAGS = -r -e main --gc-sections
LDELFFLAGS += -T $(call
CONVERT_PATH,$(BOARD_DIR)$(DELIM)scripts$(DELIM)gnu-elf.ld)
+LDFLAGS += -Wl,--gc-sections
Review comment:
Do we need to remove `--gc-sections` from `LDELFFLAGS`?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]