mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-21 23:10:54 +00:00
[libcxx] When merging archives, build index even on Darwin
We always want to build the table of contents. Additionally, we also set the flag to make the output deterministic which is already the default for llvm-ar. Differential Revision: https://reviews.llvm.org/D74108
This commit is contained in:
parent
69d2b67556
commit
603acd9626
@ -143,10 +143,10 @@ def main():
|
||||
|
||||
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)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user