From 2405b48f74618a7b8108d9a07e1dd683813ba2ac Mon Sep 17 00:00:00 2001 From: ohfp <1813007-ohfp@users.noreply.gitlab.com> Date: Mon, 30 Mar 2020 12:16:17 +0200 Subject: we should probably strip binaries, to avoid getting a 1.6G libxul.so --- binary_tarball/scripts/3_Configure_Source_Code.sh | 1 - binary_tarball/scripts/4_Build_Binary_Tarball.sh | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'binary_tarball/scripts') diff --git a/binary_tarball/scripts/3_Configure_Source_Code.sh b/binary_tarball/scripts/3_Configure_Source_Code.sh index 4335b39..5cfaf41 100755 --- a/binary_tarball/scripts/3_Configure_Source_Code.sh +++ b/binary_tarball/scripts/3_Configure_Source_Code.sh @@ -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 diff --git a/binary_tarball/scripts/4_Build_Binary_Tarball.sh b/binary_tarball/scripts/4_Build_Binary_Tarball.sh index 4beb4d5..31e7fb0 100755 --- a/binary_tarball/scripts/4_Build_Binary_Tarball.sh +++ b/binary_tarball/scripts/4_Build_Binary_Tarball.sh @@ -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; - -- cgit