xiaoxiang781216 commented on a change in pull request #5732:
URL: https://github.com/apache/incubator-nuttx/pull/5732#discussion_r826969875



##########
File path: boards/sim/sim/sim/scripts/Make.defs
##########
@@ -43,6 +43,7 @@ ARCHDEFINES += -U__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
 ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
   ARCHOPTIMIZATION = -g
   ARCHOPTIMIZATIONRUST = -g
+  ARCHOPTIMIZATIONZIG = -O Debug

Review comment:
       CONFIG_DEBUG_SYMBOLS is for symbol generation, not for optimization.




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