From a07e1f5698238edf331c505c893ea89a0163c227 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bernhard=20Rosenkr=C3=A4nzer?= <bernhard.rosenkraenzer.ext@huawei.com> Date: Wed, 19 May 2021 02:44:51 +0200 Subject: [PATCH] meta-ohos-core: toolchain: Switch defaults to use clang, compiler-rt and libc++ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Switch defaults to use clang, compiler-rt and libc++ -- let's test our toolchain extensively before the release. To go back to previous defaults, simply override the settings by putting TOOLCHAIN = "gcc" etc. into local.conf Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com> --- meta-ohos-core/conf/distro/allscenarios-linux.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/meta-ohos-core/conf/distro/allscenarios-linux.conf b/meta-ohos-core/conf/distro/allscenarios-linux.conf index 27987101..f95bcc75 100644 --- a/meta-ohos-core/conf/distro/allscenarios-linux.conf +++ b/meta-ohos-core/conf/distro/allscenarios-linux.conf @@ -12,6 +12,11 @@ DISTRO_VERSION = "0.1.99" TCLIBC ?= "musl" +TOOLCHAIN ?= "clang" +RUNTIME ?= "llvm" +LIBCPLUSPLUS ?= "--stdlib=libc++" +CLANGSDK ?= "1" + INIT_MANAGER = "systemd" # Remove some of the default Poky DISTRO_FEATURES we inherited, but do not use. -- GitLab