[libcxx] Don't pass -s to libtool

This flag is the default in libtool on Darwin, and it's not supported
by llvm-libtool-darwin causing a build failure.

Differential Revision: https://reviews.llvm.org/D88449
This commit is contained in:
Petr Hosek 2020-09-28 14:18:55 -07:00
parent d092c91288
commit 2d657d1bd7
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ 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, '-s'] + files,
execute_command_verbose([libtool_exe, '-static', '-o', args.output] + files,
cwd=temp_directory_root, verbose=args.verbose)
else:
execute_command_verbose([ar_exe, 'rcs', args.output] + files,