summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2021-05-26 17:29:01 -0700
committerKhem Raj <raj.khem@gmail.com>2023-09-08 09:08:54 -0700
commite8fcdd3735df17f8f433d4892b6cf0b4b544dc05 (patch)
treeb4353f178019d364843be7664ea8a53439f350e2
parentb7ba897fd20f1a6c2e32068633994b7ee496c81b (diff)
downloadmeta-clang-e8fcdd3735df17f8f433d4892b6cf0b4b544dc05.tar.gz
nss: Pass options to select runtime for native parts
Since clang maybe configured to use llvm runtime, we need to ensure to use gnu runtime in native builds Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 563e11548bfe95444d447e058001d3d1da5fe8e8)
-rw-r--r--conf/nonclangable.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf
index f2bee64..f9bd591 100644
--- a/conf/nonclangable.conf
+++ b/conf/nonclangable.conf
@@ -291,7 +291,7 @@ COMPILER_RT_pn-libhugetlbfs_libc-glibc_toolchain-clang_arm = "-rtlib=libgcc"
291# Uses gcc for native tools, e.g. nsinstall and passes clang options which fails so 291# Uses gcc for native tools, e.g. nsinstall and passes clang options which fails so
292# let same compiler ( gcc or clang) be native/cross compiler 292# let same compiler ( gcc or clang) be native/cross compiler
293# | gcc: error: unrecognized command line option ‘-Qunused-arguments’ 293# | gcc: error: unrecognized command line option ‘-Qunused-arguments’
294BUILD_CC_pn-nss_toolchain-clang = "clang" 294BUILD_CC_pn-nss_toolchain-clang = "clang -rtlib=libgcc -unwindlib=none"
295 295
296# libnoprofile.c:19:5: error: expected parameter declarator 296# libnoprofile.c:19:5: error: expected parameter declarator
297# int printf(const char *format, ...) { 297# int printf(const char *format, ...) {