xiaoxiang781216 commented on a change in pull request #2064: URL: https://github.com/apache/incubator-nuttx/pull/2064#discussion_r512509080
########## File path: tools/Config.mk ########## @@ -531,3 +531,22 @@ else ARCHXXINCLUDES += ${shell $(INCDIR) -s "$(CC)" $(TOPDIR)$(DELIM)include$(DELIM)cxx} endif ARCHXXINCLUDES += ${shell $(INCDIR) -s "$(CC)" $(TOPDIR)$(DELIM)include} + +# If CC_TYPE is not set, try to guess. +ifeq ($(CC_TYPE),) Review comment: I plan to move all toolchain specific option to arch/**/Toolchain.defs, it's the best place what I can imagine. Once the movement is done, all boards will automatically support many good feature(e.g. uClibc++ or libc++) without the boring configuration. Actaully, I have done the similar thing for header file search path and libm/libsup++ recently. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org