xiaoxiang781216 commented on code in PR #14805:
URL: https://github.com/apache/nuttx/pull/14805#discussion_r1869623864


##########
arch/xtensa/src/lx7/Toolchain.defs:
##########
@@ -161,6 +161,10 @@ ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
   ARCHOPTIMIZATION += $(CONFIG_DEBUG_SYMBOLS_LEVEL)
 endif
 
+ifeq ($(CONFIG_LIBC_ARCH_ATOMIC),y)
+  ARCHCFLAGS += -D__STDC_NO_ATOMICS__

Review Comment:
   should we switch to internal atomic when CONFIG_LIBC_ARCH_ATOMIC is defined?



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