diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-03-08 10:29:32 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2017-03-08 10:29:32 -0800 |
commit | 0ec52ac6644862bf6212dc830fa31f06a558eda1 (patch) | |
tree | c35853e36206669eea38c62a434e7fa23572b683 | |
parent | 6b8129146872e53752e5155db1242879b0ff9b73 (diff) | |
download | meta-clang-0ec52ac6644862bf6212dc830fa31f06a558eda1.tar.gz |
compiler-rt: Disable XRAY on musl
XRAY depends on common pieces of sanitizers which need obstack stuff from glibc
so we are going to disable everything thats sanitizers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | recipes-devtools/clang/compiler-rt_git.bb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/recipes-devtools/clang/compiler-rt_git.bb b/recipes-devtools/clang/compiler-rt_git.bb index 5c4f187..bd68a5a 100644 --- a/recipes-devtools/clang/compiler-rt_git.bb +++ b/recipes-devtools/clang/compiler-rt_git.bb | |||
@@ -38,8 +38,7 @@ EXTRA_OECMAKE += "-DCOMPILER_RT_STANDALONE_BUILD=ON \ | |||
38 | -DCOMPILER_RT_DEFAULT_TARGET_TRIPLE=${HOST_ARCH}${HF}${HOST_VENDOR}-${HOST_OS} \ | 38 | -DCOMPILER_RT_DEFAULT_TARGET_TRIPLE=${HOST_ARCH}${HF}${HOST_VENDOR}-${HOST_OS} \ |
39 | " | 39 | " |
40 | 40 | ||
41 | EXTRA_OECMAKE_append_libc-glibc = " -DCOMPILER_RT_BUILD_SANITIZERS=ON " | 41 | EXTRA_OECMAKE_append_libc-musl = " -DCOMPILER_RT_BUILD_SANITIZERS=OFF -DCOMPILER_RT_BUILD_XRAY=OFF " |
42 | EXTRA_OECMAKE_append_libc-musl = " -DCOMPILER_RT_BUILD_SANITIZERS=OFF " | ||
43 | 42 | ||
44 | do_install_append () { | 43 | do_install_append () { |
45 | if [ -d ${D}${libdir}/linux ]; then | 44 | if [ -d ${D}${libdir}/linux ]; then |