xiaoxiang781216 commented on code in PR #6276:
URL: https://github.com/apache/incubator-nuttx/pull/6276#discussion_r873226438


##########
arch/arm/src/arm/Toolchain.defs:
##########
@@ -153,7 +155,6 @@ ifeq ($(CONFIG_LTO_FULL),y)
     NM := $(CROSSDEV)gcc-nm
     ARCHOPTIMIZATION += -fuse-linker-plugin
     ARCHOPTIMIZATION += -fno-builtin
-    ARCHOPTIMIZATION += -nodefaultlibs

Review Comment:
   since we provide the start files, and link the libgcc etc explicitly, it 
should be fine to always link with -nostdlib(-nostartfiles and -nodefaultlibs).



-- 
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: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to