From d94094bb5e846d8a7cb81b7cacb415ca275066a7 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 23 Feb 2019 15:46:49 -0800 Subject: README: Document COMPILER_RT and LIBCPLUSPLUS Signed-off-by: Khem Raj --- README.md | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 0e72259..f5e5c26 100644 --- a/README.md +++ b/README.md @@ -41,20 +41,18 @@ TOOLCHAIN = "clang" # Default C++ Standard Library Switch -Note that by default libstdc++ will remain the default C++ standard library, however if you wish -libc++ to be the default one then set +Note that by default clang libc++ is default C++ standard library, however if you wish +GNU libstdc++ to be the default one then set ```python -TUNE_CCARGS_append_toolchain-clang = " --stdlib=libc++" -TARGET_CXXFLAGS_append_toolchain-clang = " --stdlib=libc++" +LIBCPLUSPLUS = "" ``` in local.conf. -You can select libc++ per package too by writing bbappends for them containing +You can select libstdc++ per package too by writing bbappends for them containing ```python -TUNE_CCARGS_append_toolchain-clang_pn- = " --stdlib=libc++" -TARGET_CXXFLAGS_append_toolchain-clang_pn- = " --stdlib=libc++" +LIBCPLUSPLUS_toolchain-clang_pn- = "" ``` # Default Compiler Runtime ( Compiler-rt + libcxx ) -- cgit v1.2.3-54-g00ecf