summaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2016-05-05 23:07:12 -0700
committerKhem Raj <raj.khem@gmail.com>2016-05-05 23:07:12 -0700
commitd56afbc8779b0c25541959ebc32fcdcfd1eb7cea (patch)
tree3de5ce0d92ecff8f44929f35ca68795eb2a0340b /classes
parent67a069317b65fa89d70fe4e9bff235b41bdb102e (diff)
downloadmeta-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.bbclass2
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
20TOOLCHAIN_OPTIONS_append_toolchain-clang_class-nativesdk_x86 = " -Wl,-dynamic-linker,${base_libdir}/ld-linux.so.2" 20TOOLCHAIN_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
23TOOLCHAIN ??= "clang" 23TOOLCHAIN ??= "gcc"
24 24
25TOOLCHAIN_class-native = "gcc" 25TOOLCHAIN_class-native = "gcc"
26TOOLCHAIN_class-nativesdk = "gcc" 26TOOLCHAIN_class-nativesdk = "gcc"