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
commit52c262c1222998155d33d35e4eb0dd12942be5c5 (patch)
treec6aed0ba05975419fba55f0a7652eb2fe0365725
parent6ec985b72d587add0bd8692d3b9b2e6fab7e8714 (diff)
downloadports-52c262c1222998155d33d35e4eb0dd12942be5c5.tar.gz
ports-52c262c1222998155d33d35e4eb0dd12942be5c5.zip
www/firefox: tentatively enable LTO by default on aarch64
Untested but LTO on aarch64 works fine in other ports. Waiting for the package cluster to confirm (on -CURRENT).
-rw-r--r--www/firefox/Makefile.options1
1 files changed, 1 insertions, 0 deletions
diff --git a/www/firefox/Makefile.options b/www/firefox/Makefile.options
index 5687477a34d7..0e1f1ae7033d 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_aarch64+= ${${DISTVERSION:R:R} >= 86:?LTO:}
OPTIONS_DEFAULT_amd64+= ${${DISTVERSION:R:R} >= 86:?LTO:}
OPTIONS_GROUP+= AUDIO