From c52f2598029dfd68cce4266587c6eb97325928fc Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 19 Nov 2019 10:38:00 -0800 Subject: qtwebengine: Link libatomic on x86/clang/gnu-runtime gcc uses intrinsics for atomic but clang does not for x86 when using libstdc++ ./media/audio/pulse/pulse_input.cc uses this atomic variable Signed-off-by: Khem Raj --- conf/nonclangable.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf index 68303b5..821b172 100644 --- a/conf/nonclangable.conf +++ b/conf/nonclangable.conf @@ -217,6 +217,7 @@ COMPILER_RT_remove_pn-m4_powerpc = "--rtlib=compiler-rt" LDFLAGS_append_pn-gnutls_toolchain-clang_riscv64 = " -latomic" LDFLAGS_append_pn-harfbuzz_toolchain-clang_riscv64 = " -latomic" +LDFLAGS_append_pn-qtwebengine_toolchain-clang_runtime-gnu_x86 = " -latomic" # glibc is built with gcc and hence encodes some libgcc specific builtins which are not found # when doing static linking with clang using compiler-rt, so use libgcc -- cgit v1.2.3-54-g00ecf