diff options
author | Khem Raj <raj.khem@gmail.com> | 2016-05-05 23:07:12 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2016-05-05 23:07:12 -0700 |
commit | d56afbc8779b0c25541959ebc32fcdcfd1eb7cea (patch) | |
tree | 3de5ce0d92ecff8f44929f35ca68795eb2a0340b /classes | |
parent | 67a069317b65fa89d70fe4e9bff235b41bdb102e (diff) | |
download | meta-clang-d56afbc8779b0c25541959ebc32fcdcfd1eb7cea.tar.gz |
Switch default compiler option to remain gcc
Users find it too intrusive that clang becomes the default
compiler, they would like to invoke it on demand for certain
packages only.
Use TOOLCHAIN ?= "clang" in local.conf if you want clang
to become default
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'classes')
-rw-r--r-- | classes/clang.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/clang.bbclass b/classes/clang.bbclass index bf511f3..89576cb 100644 --- a/classes/clang.bbclass +++ b/classes/clang.bbclass | |||
@@ -20,7 +20,7 @@ TOOLCHAIN_OPTIONS_append_toolchain-clang_class-nativesdk_x86-64 = " -Wl,-dynamic | |||
20 | TOOLCHAIN_OPTIONS_append_toolchain-clang_class-nativesdk_x86 = " -Wl,-dynamic-linker,${base_libdir}/ld-linux.so.2" | 20 | TOOLCHAIN_OPTIONS_append_toolchain-clang_class-nativesdk_x86 = " -Wl,-dynamic-linker,${base_libdir}/ld-linux.so.2" |
21 | 21 | ||
22 | # choose between 'gcc' 'clang' an empty '' can be used as well | 22 | # choose between 'gcc' 'clang' an empty '' can be used as well |
23 | TOOLCHAIN ??= "clang" | 23 | TOOLCHAIN ??= "gcc" |
24 | 24 | ||
25 | TOOLCHAIN_class-native = "gcc" | 25 | TOOLCHAIN_class-native = "gcc" |
26 | TOOLCHAIN_class-nativesdk = "gcc" | 26 | TOOLCHAIN_class-nativesdk = "gcc" |