we should probably strip binaries, to avoid getting a 1.6G libxul.so

This commit is contained in:
ohfp 2020-03-30 12:16:17 +02:00
parent daf0d739ab
commit 2405b48f74
2 changed files with 1 additions and 3 deletions

View file

@ -25,7 +25,6 @@ ac_add_options --enable-application=browser
#ac_add_options --with-clang-path="/usr/bin/clang-9"
ac_add_options NODEJS=/usr/lib/nodejs-mozilla/bin/node
ac_add_options NASM=/usr/lib/nasm-mozilla/bin/nasm
ac_add_options --disable-install-strip
# let's see if this works: make things backwards-compatible as much as possible
# TODO: check if this would also work when building on something newer to have it run on

View file

@ -7,7 +7,7 @@ OUTPUT_TARBALL=$2;
CI_PROJECT_DIR=${CI_PROJECT_DIR:-$(realpath $(dirname $0)/../../)}
_SOURCE_CODE_BINARY_TARBALL_LOCATION="./obj*/dist/librewolf*.tar.bz2";
_MOZBUILD=$srcdir/../mozbuild
export PATH=/usr/lib/nasm-mozilla/bin:$PATH
# export PATH=/usr/lib/nasm-mozilla/bin:$PATH
# we do change / unset some of them later, but setting them as set by Arch
# might make it easier to maintain changes in build scripts on both sides
@ -87,4 +87,3 @@ mv $_SOURCE_CODE_BINARY_TARBALL_LOCATION $OUTPUT_TARBALL;
# Deletes the source code
printf "\nDeleting source code\n";
rm -rf $srcdir;