diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2021-03-24 04:29:15 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2021-03-24 08:59:54 +0100 |
commit | 0f03f1b385050b37bf9e0adc1f93b6e45788b99b (patch) | |
tree | 315a9c1cd23e2cc22745f4d826c8ef0c97b83e08 /source/xap/mozilla-firefox/mozilla-firefox.SlackBuild | |
parent | 88111a3a1f332ee98ec6099f1a11b1f34b655b76 (diff) | |
download | current-0f03f1b385050b37bf9e0adc1f93b6e45788b99b.tar.gz |
Wed Mar 24 04:29:15 UTC 202120210324042915
ap/mpg123-1.26.5-x86_64-1.txz: Upgraded.
d/cmake-3.20.0-x86_64-1.txz: Upgraded.
kde/krita-4.4.3-x86_64-1.txz: Upgraded.
l/mozjs78-78.9.0esr-x86_64-1.txz: Upgraded.
n/libassuan-2.5.5-x86_64-1.txz: Upgraded.
x/libva-2.11.0-x86_64-1.txz: Upgraded.
x/libva-utils-2.11.0-x86_64-1.txz: Upgraded.
xap/mozilla-firefox-87.0-x86_64-1.txz: Upgraded.
This release contains security fixes and improvements.
For more information, see:
https://www.mozilla.org/en-US/firefox/87.0/releasenotes/
https://www.mozilla.org/en-US/security/advisories/mfsa2021-10/
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23981
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23982
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23983
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23984
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23985
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23986
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23987
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23988
(* Security fix *)
Diffstat (limited to 'source/xap/mozilla-firefox/mozilla-firefox.SlackBuild')
-rwxr-xr-x | source/xap/mozilla-firefox/mozilla-firefox.SlackBuild | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/source/xap/mozilla-firefox/mozilla-firefox.SlackBuild b/source/xap/mozilla-firefox/mozilla-firefox.SlackBuild index d95b38ba..b589706f 100755 --- a/source/xap/mozilla-firefox/mozilla-firefox.SlackBuild +++ b/source/xap/mozilla-firefox/mozilla-firefox.SlackBuild @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2018, 2019, 2020 Patrick J. Volkerding, Sebeka, Minnesota, USA +# Copyright 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2018, 2019, 2020, 2021 Patrick J. Volkerding, Sebeka, Minnesota, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -88,13 +88,20 @@ fi export CC=${CC:-clang} export CXX=${CXX:-clang++} -# Keep memory usage as low as possible when linking: -SLKLDFLAGS=" -Wl,--as-needed -Wl,--no-keep-memory -Wl,--stats -Wl,--reduce-memory-overheads" -export LDFLAGS="$SLKLDFLAGS" -export MOZ_LINK_FLAGS="$SLKLDFLAGS" - # Set linker to use: -LINKER=bfd +if [ "$CC" = "clang" ]; then + # Upstream default: + LINKER=lld +else + LINKER=bfd +fi + +# Keep memory usage as low as possible when linking: +if [ ! "$LINKER" = "lld" ]; then + SLKLDFLAGS=" -Wl,--as-needed -Wl,--no-keep-memory -Wl,--stats -Wl,--reduce-memory-overheads" + export LDFLAGS="$SLKLDFLAGS" + export MOZ_LINK_FLAGS="$SLKLDFLAGS" +fi # Put Rust objects on a diet to keep the linker from running into memory # issues (especially on 32-bit): @@ -198,6 +205,9 @@ sed -i.allow-warnings -e '/#!\[deny(warnings)\]/a #![allow(unused_imports)]' \ # Retain GTK+ v2 scrolling behavior: zcat $CWD/ff.ui.scrollToClick.diff.gz | patch -p1 --verbose || exit 1 +# Don't enable LTO for Rust unless the whole build uses it: +zcat $CWD/0027-LTO-Only-enable-LTO-for-Rust-when-complete-build-use.patch.gz | patch -p1 --verbose || exit 1 + # Fetch localization, if requested # https://bugzilla.mozilla.org/show_bug.cgi?id=1256955 if [ ! -z $MOZLOCALIZE ]; then @@ -238,6 +248,7 @@ OPTIONS="\ --disable-crashreporter \ --disable-debug-symbols \ --disable-debug \ + --disable-elf-hack \ --disable-updater \ --disable-optimize" # Complains about missing APNG support in Slackware's libpng: |