[libcxx-commits] [libcxx] 2d657d1 - [libcxx] Don't pass -s to libtool
Petr Hosek via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Sep 28 14:50:23 PDT 2020
Author: Petr Hosek
Date: 2020-09-28T14:50:09-07:00
New Revision: 2d657d1bd7f1e45722ced24e1da897ba5e87ab7a
URL: https://github.com/llvm/llvm-project/commit/2d657d1bd7f1e45722ced24e1da897ba5e87ab7a
DIFF: https://github.com/llvm/llvm-project/commit/2d657d1bd7f1e45722ced24e1da897ba5e87ab7a.diff
LOG: [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
Added:
Modified:
libcxx/utils/merge_archives.py
Removed:
################################################################################
diff --git a/libcxx/utils/merge_archives.py b/libcxx/utils/merge_archives.py
index d751526359ba..2fcb474d3d5d 100755
--- a/libcxx/utils/merge_archives.py
+++ b/libcxx/utils/merge_archives.py
@@ -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,
More information about the libcxx-commits
mailing list