diff options
author | ohfp <1813007-ohfp@users.noreply.gitlab.com> | 2020-07-30 17:51:35 +0200 |
---|---|---|
committer | ohfp <1813007-ohfp@users.noreply.gitlab.com> | 2020-07-30 17:57:09 +0200 |
commit | d73ef25178eb107680388e221ce55fa24b51ce5c (patch) | |
tree | 4f21fdeca15736de72f9129c17b98b2dd2609f88 /binary_tarball | |
parent | Fix version number typo (diff) | |
download | librewolf-linux-d73ef25178eb107680388e221ce55fa24b51ce5c.tar.gz librewolf-linux-d73ef25178eb107680388e221ce55fa24b51ce5c.tar.bz2 librewolf-linux-d73ef25178eb107680388e221ce55fa24b51ce5c.zip |
v79.0-1
Also (re-)adds some debian armhf-patches – not really needed, but making
it easier to apply the libstdc++-related patches without having to
modify them.
Diffstat (limited to 'binary_tarball')
-rwxr-xr-x | binary_tarball/scripts/2_Download_Source_Code.sh | 2 | ||||
-rwxr-xr-x | binary_tarball/scripts/3_Configure_Source_Code.sh | 10 | ||||
-rwxr-xr-x | binary_tarball/scripts/4_Build_Binary_Tarball.sh | 4 |
3 files changed, 14 insertions, 2 deletions
diff --git a/binary_tarball/scripts/2_Download_Source_Code.sh b/binary_tarball/scripts/2_Download_Source_Code.sh index c50149d..6364dd2 100755 --- a/binary_tarball/scripts/2_Download_Source_Code.sh +++ b/binary_tarball/scripts/2_Download_Source_Code.sh @@ -1,6 +1,8 @@ #!/bin/bash printf "\n\n--------------------------------- SOURCE CODE DOWNLOAD --------------------------------------\n"; +set -e + if [[ -z ${pkgver} || -z ${pkgrel} ]]; then echo '$pkgrel and/or $pkgver not provided' exit 1 diff --git a/binary_tarball/scripts/3_Configure_Source_Code.sh b/binary_tarball/scripts/3_Configure_Source_Code.sh index 84b4858..99e3d6a 100755 --- a/binary_tarball/scripts/3_Configure_Source_Code.sh +++ b/binary_tarball/scripts/3_Configure_Source_Code.sh @@ -1,6 +1,8 @@ #!/bin/bash printf "\n\n------------------------------ FINAL PREBUILD CONFIGURATION ---------------------------------\n"; +set -e + # Setup Script Variables srcdir=$1; CI_PROJECT_DIR=${CI_PROJECT_DIR:-$(realpath $(dirname $0)/../../)} @@ -87,7 +89,7 @@ END export CXXFLAGS+=" -g0" export RUSTFLAGS="-Cdebuginfo=0" - export LDFLAGS+=" -Wl,--no-keep-memory -Wl,--reduce-memory-overheads" + export LDFLAGS+=" -Wl,--no-keep-memory -Wl" patch -p1 -i ${CI_PROJECT_DIR}/arm.patch wget https://raw.githubusercontent.com/archlinuxarm/PKGBUILDs/master/extra/firefox/build-arm-libopus.patch -O ${CI_PROJECT_DIR}/build-arm-libopus.patch patch -p1 -i ${CI_PROJECT_DIR}/build-arm-libopus.patch @@ -110,7 +112,13 @@ END fi # hopefully the magic sauce that makes things build on 16.04 and later on work "everywhere": +patch -p1 -i "${CI_PROJECT_DIR}/armhf-reduce-linker-memory-use.patch" patch -p1 -i "${CI_PROJECT_DIR}/deb_patches/build-with-libstdc++-7.patch" +patch -p1 -i "${CI_PROJECT_DIR}/fix-armhf-webrtc-build.patch" +patch -p1 -i "${CI_PROJECT_DIR}/webrtc-fix-compiler-flags-for-armhf.patch" + +# https://bugzilla.mozilla.org/show_bug.cgi?id=1654465 +patch -p1 -i ${CI_PROJECT_DIR}/bug1654465.diff # Remove some pre-installed addons that might be questionable patch -p1 -i ${CI_PROJECT_DIR}/remove_addons.patch diff --git a/binary_tarball/scripts/4_Build_Binary_Tarball.sh b/binary_tarball/scripts/4_Build_Binary_Tarball.sh index ad9cf0f..cad87a0 100755 --- a/binary_tarball/scripts/4_Build_Binary_Tarball.sh +++ b/binary_tarball/scripts/4_Build_Binary_Tarball.sh @@ -1,6 +1,8 @@ #!/bin/bash printf "\n\n--------------------------------------- BUILD -----------------------------------------------\n"; +set -e + # Setup Script Variables srcdir=$1; OUTPUT_TARBALL=$2; @@ -37,7 +39,7 @@ if [[ $CARCH == 'aarch64' ]]; then export CFLAGS+=" -g0" export CXXFLAGS+=" -g0" export RUSTFLAGS="-Cdebuginfo=0" - export LDFLAGS+=" -Wl,--no-keep-memory -Wl,--reduce-memory-overheads" + export LDFLAGS+=" -Wl,--no-keep-memory -Wl" fi # LTO needs more open files |