mirror of
https://github.com/apache/nuttx.git
synced 2025-12-10 04:04:18 +08:00
Add basic support for locales in order to C++ streams to build and work for simple cases (POSIX / C locale).
Fix build with C++ GCC toolchain
This commit is contained in:
committed by
Xiang Xiao
parent
88fa598ea2
commit
3dc6b4c9bd
@@ -99,6 +99,11 @@ ifdef CONFIG_BUILD_PROTECTED
|
||||
endif
|
||||
ifdef CONFIG_BUILD_KERNEL
|
||||
@echo "NUTTX_BUILD=\"kernel\"" >> $(EXPORTDIR)/makeinfo.sh
|
||||
endif
|
||||
ifdef CONFIG_LIBCXX
|
||||
@echo "NUTTX_CXX=\"libcxx\"" >> $(EXPORTDIR)/makeinfo.sh
|
||||
else
|
||||
@echo "NUTTX_CXX=\"cxx\"" >> $(EXPORTDIR)/makeinfo.sh
|
||||
endif
|
||||
$(Q) chmod 755 $(EXPORTDIR)/makeinfo.sh
|
||||
|
||||
|
||||
Reference in New Issue
Block a user