gustavonihei commented on pull request #3836:
URL: https://github.com/apache/incubator-nuttx/pull/3836#issuecomment-859149602


   > By the way, in places like this:
   > 
   > ```
   > NXFLATLDFLAGS1 = -r -Wl,-d -Wl,-warn-common
   > ```
   > 
   > Why does the `-r` option need to remain without `-Wl,`?
   
   `-r` is a link option processed by the GCC driver, so it does need to be 
forwarded to the linker:
   
   
https://gcc.gnu.org/onlinedocs/gcc/Link-Options.html#:~:text=produce%20a%20relocatable%20object%20as%20output.%20this%20is%20also%20known%20as%20partial%20linking.


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