You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/08/11 02:28:41 UTC

[GitHub] [incubator-nuttx] rm5248 commented on a diff in pull request #6800: Use GCC for LD on MIPS processors

rm5248 commented on code in PR #6800:
URL: https://github.com/apache/incubator-nuttx/pull/6800#discussion_r943052396


##########
arch/mips/src/mips32/Toolchain.defs:
##########
@@ -245,14 +245,14 @@ endif
 # Optimization of unused sections
 
 ifeq ($(CONFIG_DEBUG_OPT_UNUSED_SECTIONS),y)
-  LDFLAGS          += --gc-sections
+  LDFLAGS          += -Wl,--gc-sections

Review Comment:
   It looks like the commit that I was basing this off of was reverted at some point, so I will configure this differently.



-- 
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-unsubscribe@nuttx.apache.org

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