xiaoxiang781216 commented on a change in pull request #5363: URL: https://github.com/apache/incubator-nuttx/pull/5363#discussion_r801397648
########## File path: boards/arm/phy62xx/phy6222/scripts/Make.defs ########## @@ -35,7 +35,7 @@ ifeq ($(CONFIG_DEBUG_SYMBOLS),y) endif ifneq ($(CONFIG_DEBUG_NOOPT),y) - ARCHOPTIMIZATION += $(MAXOPTIMIZATION) -fno-strict-aliasing + ARCHOPTIMIZATION += $(MAXOPTIMIZATION) -fno-strict-aliasing -fno-strength-reduce -fomit-frame-pointer Review comment: In the latest mainline, -fomit-frame-pointer is done in the common place: https://github.com/apache/incubator-nuttx/blob/master/arch/arm/src/armv6-m/Toolchain.defs#L64-L68 -- 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