xiaoxiang781216 commented on code in PR #6155: URL: https://github.com/apache/incubator-nuttx/pull/6155#discussion_r861650784
########## boards/sim/sim/sim/scripts/Make.defs: ########## @@ -41,18 +41,18 @@ ARCHDEFINES += -U__NetBSD__ -U__linux__ -U__sun__ -U__unix__ ARCHDEFINES += -U__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ ifeq ($(CONFIG_DEBUG_SYMBOLS),y) - ARCHOPTIMIZATION = -g - ARCHOPTIMIZATIONRUST = -g + ARCHOPTIMIZATION += -g + ARCHOPTIMIZATIONRUST += -g endif ifeq ($(CONFIG_DEBUG_CUSTOMOPT),y) - MAXOPTIMIZATION := $(CONFIG_DEBUG_OPTLEVEL) -else - MAXOPTIMIZATION ?= -O2 + ARCHOPTIMIZATION :+= $(CONFIG_DEBUG_OPTLEVEL) Review Comment: Done. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
