LLD linker is no longer the default for clang-native, so
we can build binaries linking to clang-native using GNU ld.

Signed-off-by: Naveen Saini <naveen.kumar.sa...@intel.com>
---
 .../clang-layer/recipes-opencl/opencl-clang/opencl-clang_9.0.0.bb      | 3 ---
 1 file changed, 3 deletions(-)

diff --git 
a/dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang_9.0.0.bb 
b/dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang_9.0.0.bb
index e420923..32af900 100644
--- 
a/dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang_9.0.0.bb
+++ 
b/dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang_9.0.0.bb
@@ -17,7 +17,6 @@ inherit cmake
 DEPENDS += "clang"
 
 DEPENDS_append_class-target = " opencl-clang-native"
-LDFLAGS_append_class-native = " -fuse-ld=lld"
 
 COMPATIBLE_HOST = '(x86_64).*-linux'
 COMPATIBLE_HOST_libc-musl = "null"
@@ -33,5 +32,3 @@ do_install_append_class-native() {
 }
 
 BBCLASSEXTEND = "native nativesdk"
-
-TOOLCHAIN_class-native = "clang"
-- 
2.7.4

-- 
_______________________________________________
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel

Reply via email to