[libcxx-commits] [PATCH] D74108: [libcxx] When merging archives, build index even on Darwin

Petr Hosek via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Mar 2 11:38:06 PST 2020


This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was automatically updated to reflect the committed changes.
Closed by commit rG603acd962670: [libcxx] When merging archives, build index even on Darwin (authored by phosek).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D74108/new/

https://reviews.llvm.org/D74108

Files:
  libcxx/utils/merge_archives.py


Index: libcxx/utils/merge_archives.py
===================================================================
--- libcxx/utils/merge_archives.py
+++ libcxx/utils/merge_archives.py
@@ -143,10 +143,10 @@
 
     if args.use_libtool:
         files = [f for f in files if not f.startswith('__.SYMDEF')]
-        execute_command_verbose([libtool_exe, '-static', '-o', args.output] + files,
+        execute_command_verbose([libtool_exe, '-static', '-o', args.output, '-sD'] + files,
                                 cwd=temp_directory_root, verbose=args.verbose)
     else:
-        execute_command_verbose([ar_exe, 'rcs', args.output] + files,
+        execute_command_verbose([ar_exe, 'rcsD', args.output] + files,
                                 cwd=temp_directory_root, verbose=args.verbose)
 
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74108.247699.patch
Type: text/x-patch
Size: 792 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20200302/ca25ec9d/attachment-0001.bin>


More information about the libcxx-commits mailing list