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


##########
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:
   I'm not sure if that matters, but with this change we add `-nostartfiles` 
and `-nodefaultlibs` unconditionally for ARM.
   I hope that it should not matter, just want to be sure that all is under 
control



-- 
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