From d83d4f0a3ebd3073a114360046d03730cc5524c3 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 1 Jun 2021 13:57:59 -0700 Subject: mongodb: Use llvm runtime when using clang Fixes linker errors like src/mongo/platform/overflow_arithmetic.h:63: error: undefined reference to '__mulodi4' src/mongo/platform/overflow_arithmetic.h:63: error: undefined reference to '__mulodi4' src/mongo/platform/overflow_arithmetic.h:63: error: undefined reference to '__mulodi4' src/mongo/platform/overflow_arithmetic.h:63: error: undefined reference to '__mulodi4' Signed-off-by: Khem Raj (cherry picked from commit 0c02a3503f6b240ec34c68bc9c00407bae2b0fa4) --- conf/nonclangable.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf index 3f78b36..71f9f90 100644 --- a/conf/nonclangable.conf +++ b/conf/nonclangable.conf @@ -253,6 +253,7 @@ COMPILER_RT_pn-openssh_toolchain-clang = "-rtlib=compiler-rt ${UNWINDLIB}" COMPILER_RT_pn-webkitgtk_toolchain-clang = "-rtlib=compiler-rt ${UNWINDLIB}" COMPILER_RT_pn-wpewebkit_toolchain-clang = "-rtlib=compiler-rt ${UNWINDLIB}" COMPILER_RT_pn-python3-numpy_toolchain-clang = "-rtlib=compiler-rt ${UNWINDLIB}" +COMPILER_RT_pn-mongodb_toolchain-clang = "-rtlib=compiler-rt ${UNWINDLIB}" COMPILER_RT_remove_pn-m4_powerpc = "-rtlib=compiler-rt" COMPILER_RT_remove_pn-ruby_powerpc = "-rtlib=compiler-rt" COMPILER_RT_remove_pn-webkitgtk_powerpc = "-rtlib=compiler-rt" -- cgit v1.2.3-54-g00ecf