[PATCH] D53711: [compiler-rt] Workaround using new Clang with an old NDK.

Dan Albert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 2 14:50:51 PDT 2018


danalbert updated this revision to Diff 172440.
danalbert edited the summary of this revision.

Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D53711

Files:
  test/lit.common.cfg


Index: test/lit.common.cfg
===================================================================
--- test/lit.common.cfg
+++ test/lit.common.cfg
@@ -59,6 +59,7 @@
 # transitive shared library dependency (via asan runtime).
 if config.android:
   config.target_cflags += " -pie -fuse-ld=gold -Wl,--enable-new-dtags"
+  config.cxx_mode_flags.append('-stdlib=libstdc++')
 
 # Clear some environment variables that might affect Clang.
 possibly_dangerous_env_vars = ['ASAN_OPTIONS', 'DFSAN_OPTIONS', 'LSAN_OPTIONS',


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53711.172440.patch
Type: text/x-patch
Size: 510 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181102/bacff758/attachment.bin>


More information about the llvm-commits mailing list