[PATCH] D22415: Enable cross-compilation across architectures on android

Francis Ricci via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 20 11:31:12 PDT 2016


fjricci added a comment.

`add_compiler_rt_runtime` is used to build both c and c++ sources, depending on the object being built. In addition, the other objects using this function already add `SANITIZER_COMMON_CFLAGS`, which contains the necessary compilation flags (added via `check_c[xx]_compiler_flags`). The builtins are the only object which are built without the `SANITIZER_COMMON_CFLAGS`, and therefore don't have any of the user-specified compilation flags.


https://reviews.llvm.org/D22415





More information about the llvm-commits mailing list