Skip to content

Commit f63d297

Browse files
Use llvm-strip instead of strip to allow cross-arch stripping
1 parent 997c558 commit f63d297

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Utilities/build-release.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def main():
4747
# For ELF binaries, use strip to remove debug symbols because
4848
# most of static archives in static linux Swift SDK contains
4949
# debug sections.
50-
run(["strip", src_exe_path, "--strip-debug", "-o", dest_exe_path])
50+
run(["llvm-strip", src_exe_path, "--strip-debug", "-o", dest_exe_path])
5151
else:
5252
shutil.copy(src_exe_path, dest_exe_path)
5353

0 commit comments

Comments
 (0)