pussuw commented on code in PR #6276: URL: https://github.com/apache/incubator-nuttx/pull/6276#discussion_r874432478
########## 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: Should -nostdlib be applied to all targets that use gcc for compilation, at least avr uses avr_gcc ? I have also seen that some avr builds pull definitions from libgcc which is definitely wrong. -- 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