aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2021-05-06 16:15:10 +0000
committerJan Beich <jbeich@FreeBSD.org>2021-05-11 17:52:58 +0000
commit6ec985b72d587add0bd8692d3b9b2e6fab7e8714 (patch)
tree59199c933046d0bac35bf5bd4c29e5b2950855cd
parent4e67118c7a58ddee28e376bc4291f348a9a0d38d (diff)
downloadports-6ec985b72d587add0bd8692d3b9b2e6fab7e8714.tar.gz
ports-6ec985b72d587add0bd8692d3b9b2e6fab7e8714.zip
www/firefox: enable LTO by default on amd64
Builds and works fine on 11.4, 12.2, 13.0, 14.0. MFH: 2021Q2
-rw-r--r--www/firefox/Makefile1
-rw-r--r--www/firefox/Makefile.options1
2 files changed, 2 insertions, 0 deletions
diff --git a/www/firefox/Makefile b/www/firefox/Makefile
index 260039da8804..708c98746909 100644
--- a/www/firefox/Makefile
+++ b/www/firefox/Makefile
@@ -2,6 +2,7 @@
PORTNAME= firefox
DISTVERSION= 88.0.1
+PORTREVISION= 1
PORTEPOCH= 2
CATEGORIES= www
MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \
diff --git a/www/firefox/Makefile.options b/www/firefox/Makefile.options
index d5a417480eb3..5687477a34d7 100644
--- a/www/firefox/Makefile.options
+++ b/www/firefox/Makefile.options
@@ -5,6 +5,7 @@ OPTIONS_DEFINE+= CANBERRA DBUS DEBUG FFMPEG \
OPTIONS_DEFAULT+= DBUS FFMPEG OPTIMIZED_CFLAGS PROFILE \
${OPTIONS_GROUP_AUDIO:NALSA}
+OPTIONS_DEFAULT_amd64+= ${${DISTVERSION:R:R} >= 86:?LTO:}
OPTIONS_GROUP+= AUDIO
OPTIONS_GROUP_AUDIO= ALSA JACK PULSEAUDIO SNDIO