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/02/20 14:43:15 UTC

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #5555: boards: Remove the unnecessary customize Make.defs

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



##########
File path: boards/arm/stm32/stm32f4discovery/scripts/Make.defs
##########
@@ -35,7 +35,11 @@ ifneq ($(CONFIG_DEBUG_NOOPT),y)
 endif
 
 ARCHCFLAGS = -fno-builtin
-ARCHCXXFLAGS = -fno-builtin -fno-exceptions -fcheck-new
+ifeq ($(CONFIG_CXX_EXCEPTION),y)
+  ARCHCXXFLAGS = -fno-builtin
+else
+  ARCHCXXFLAGS = -fno-builtin -fno-exceptions -fcheck-new

Review comment:
       Add at line 52:
   https://github.com/apache/incubator-nuttx/pull/5555/files#diff-0a874401241f632c07d97d166345317a75e439db54eb33b3082394ba2a6749bbL48




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