]> code.ossystems Code Review - openembedded-core.git/commitdiff
webkitgtk: Do not use gold with clang
authorKhem Raj <raj.khem@gmail.com>
Tue, 19 Jul 2016 18:07:07 +0000 (11:07 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 25 Jul 2016 22:47:00 +0000 (23:47 +0100)
clang cross compiler fails to detect gold linker from
cross-binutils, instead it defaults to ld.gold from build
host, lets disable using gold when clang is active to avoid
this issue

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-sato/webkit/webkitgtk_2.12.3.bb

index 85876d5c5d386a75161f01d16b893bc210cf3292..f2ba8b6d7bcc0e0921807baf7b6cad5bc0837d27 100644 (file)
@@ -75,6 +75,7 @@ EXTRA_OECMAKE_append_armv4 = " -DENABLE_JIT=OFF "
 # binutils 2.25.1 has a bug on aarch64:
 # https://sourceware.org/bugzilla/show_bug.cgi?id=18430
 EXTRA_OECMAKE_append_aarch64 = " -DUSE_LD_GOLD=OFF "
+EXTRA_OECMAKE_append_toolchain-clang = " -DUSE_LD_GOLD=OFF "
 
 # JIT not supported on MIPS either
 EXTRA_OECMAKE_append_mips = " -DENABLE_JIT=OFF "