Skip to content

Commit

Permalink
devops: strip linux binaries
Browse files Browse the repository at this point in the history
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
  • Loading branch information
aslushnikov committed Jan 31, 2020
1 parent 24c5df6 commit b77b31c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions browser_patches/webkit/archive.sh
Expand Up @@ -82,6 +82,7 @@ createZipForLinux() {

# tar resulting directory and cleanup TMP.
cd $tmpdir
strip --strip-unneeded * || true
zip --symlinks -r $ZIP_PATH ./
cd -
rm -rf $tmpdir
Expand Down

0 comments on commit b77b31c

Please sign in to comment.