commit | fb8eb6fce81e2f385de9b493f9cb352db572fb78 | [log] [tgz] |
---|---|---|
author | Martin Storsjo <[email protected]> | Wed Sep 13 06:55:44 2017 |
committer | Martin Storsjo <[email protected]> | Wed Sep 13 06:55:44 2017 |
tree | da58cec35cff9021724df10551ed50373e9710d6 | |
parent | 6cab129464a853bfd05d568598b206e5c4b5ceaa [diff] |
Use CMAKE_AR instead of the system default 'ar' for merging static libraries Using the system default 'ar' might not be the right choice when cross compiling. Don't prepend the ar options by a dash, not all ar implementations support that (llvm-ar doesn't). Also pass the 's' option when creating the merged library, to create an index. Differential Revision: https://reviews.llvm.org/D37134 llvm-svn: 313122