summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2021-06-01 13:57:59 -0700
committerKhem Raj <raj.khem@gmail.com>2023-09-08 09:08:54 -0700
commitd83d4f0a3ebd3073a114360046d03730cc5524c3 (patch)
tree094c3eb3b06bc7bb9375af19bfbbf66eeccb22b1
parentb558e253d1663b92f25efc116a163848475a6899 (diff)
downloadmeta-clang-d83d4f0a3ebd3073a114360046d03730cc5524c3.tar.gz
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 <raj.khem@gmail.com> (cherry picked from commit 0c02a3503f6b240ec34c68bc9c00407bae2b0fa4)
-rw-r--r--conf/nonclangable.conf1
1 files changed, 1 insertions, 0 deletions
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}"
253COMPILER_RT_pn-webkitgtk_toolchain-clang = "-rtlib=compiler-rt ${UNWINDLIB}" 253COMPILER_RT_pn-webkitgtk_toolchain-clang = "-rtlib=compiler-rt ${UNWINDLIB}"
254COMPILER_RT_pn-wpewebkit_toolchain-clang = "-rtlib=compiler-rt ${UNWINDLIB}" 254COMPILER_RT_pn-wpewebkit_toolchain-clang = "-rtlib=compiler-rt ${UNWINDLIB}"
255COMPILER_RT_pn-python3-numpy_toolchain-clang = "-rtlib=compiler-rt ${UNWINDLIB}" 255COMPILER_RT_pn-python3-numpy_toolchain-clang = "-rtlib=compiler-rt ${UNWINDLIB}"
256COMPILER_RT_pn-mongodb_toolchain-clang = "-rtlib=compiler-rt ${UNWINDLIB}"
256COMPILER_RT_remove_pn-m4_powerpc = "-rtlib=compiler-rt" 257COMPILER_RT_remove_pn-m4_powerpc = "-rtlib=compiler-rt"
257COMPILER_RT_remove_pn-ruby_powerpc = "-rtlib=compiler-rt" 258COMPILER_RT_remove_pn-ruby_powerpc = "-rtlib=compiler-rt"
258COMPILER_RT_remove_pn-webkitgtk_powerpc = "-rtlib=compiler-rt" 259COMPILER_RT_remove_pn-webkitgtk_powerpc = "-rtlib=compiler-rt"