xiaoxiang781216 edited a comment on pull request #3900:
URL: https://github.com/apache/incubator-nuttx/pull/3900#issuecomment-859552972


   > Because:
   > 
   > * It's very confusing to have cc as LD.
   
   Yes, it's a little bit confusing, but if you want to enable LTO, you must 
use gcc to drive the link process as far as I know. If we can't find a method 
to let ld work with LTO, it's better to keep the change as it.
   
   > * I don't see what "-nostartfiles -nodefaultlibs" in LDFLAGS are
   >   supposed to do when we use LD directly. It would be simpler to
   >   remove them from our LDFLAGS.
   > 
   


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

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


Reply via email to