summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2017-09-13 06:55:44 +0000
committerMartin Storsjo <martin@martin.st>2017-09-13 06:55:44 +0000
commit5f919fe349450b3da0e29611ae37f6a940179290 (patch)
treed91bd57ae58ac3acc65d102c2fed8c71b269e56e /CMakeLists.txt
parent327f3b7eff3fa8fd8bdec09663cab2cbc76c67b9 (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 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@313122 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions