From 6ec985b72d587add0bd8692d3b9b2e6fab7e8714 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Thu, 6 May 2021 16:15:10 +0000 Subject: www/firefox: enable LTO by default on amd64 Builds and works fine on 11.4, 12.2, 13.0, 14.0. MFH: 2021Q2 --- www/firefox/Makefile | 1 + www/firefox/Makefile.options | 1 + 2 files changed, 2 insertions(+) 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 -- cgit v1.2.3