[PATCH] D53182: [Zorg] Explicitly use `-stdlib=libstdc++` for Android.

Dan Albert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 12 10:15:21 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL344370: [Zorg] Explicitly use `-stdlib=libstdc++` for Android. (authored by danalbert, committed by ).

Repository:
  rL LLVM

https://reviews.llvm.org/D53182

Files:
  zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_android_functions.sh


Index: zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_android_functions.sh
===================================================================
--- zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_android_functions.sh
+++ zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_android_functions.sh
@@ -43,7 +43,7 @@
   local ANDROID_TOOLCHAIN=$ROOT/android_ndk/standalone-$_arch
   local ANDROID_LIBRARY_OUTPUT_DIR=$(ls -d $ROOT/llvm_build64/lib/clang/* | tail -1)
   local ANDROID_EXEC_OUTPUT_DIR=$ROOT/llvm_build64/bin
-  local ANDROID_FLAGS="--target=$_triple --sysroot=$ANDROID_TOOLCHAIN/sysroot -B$ANDROID_TOOLCHAIN"
+  local ANDROID_FLAGS="--target=$_triple -stdlib=libstdc++ --sysroot=$ANDROID_TOOLCHAIN/sysroot -B$ANDROID_TOOLCHAIN"
 
   # Always clobber android build tree.
   # It has a hidden dependency on clang (through CXX) which is not known to


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53182.169452.patch
Type: text/x-patch
Size: 870 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181012/bf2474c2/attachment.bin>


More information about the llvm-commits mailing list