Skip to content

Commit b77b31c

Browse files
committed
devops: strip linux binaries
The `--strip-unneeded` removes all symbols needed for library compilation as part of a `.a` static library. ([source](https://www.technovelty.org/linux/stripping-shared-libraries.html)) So these are safe to remove and they should keep our binary debuggable. These should save us ~100Mb unzipped. References #658
1 parent 24c5df6 commit b77b31c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

browser_patches/webkit/archive.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ createZipForLinux() {
8282

8383
# tar resulting directory and cleanup TMP.
8484
cd $tmpdir
85+
strip --strip-unneeded * || true
8586
zip --symlinks -r $ZIP_PATH ./
8687
cd -
8788
rm -rf $tmpdir

0 commit comments

Comments
 (0)