aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Prohaska <fbsd@www.zefox.net>2021-09-01 10:08:16 +0000
committerRene Ladan <rene@FreeBSD.org>2021-09-01 20:35:55 +0000
commit909de6c431b73f6d4c28b818506ae80f62668c21 (patch)
tree56887abfac6b218f2b67789288515445eae8cc8a
parent5218b91edff502d736eec1e4db6eb23b44638839 (diff)
downloadports-909de6c431b73f6d4c28b818506ae80f62668c21.tar.gz
ports-909de6c431b73f6d4c28b818506ae80f62668c21.zip
www/chromium: fix build on aarch64 (RPI4)
... by respecting LTO_VARS=off and exlcuding LTO from aarch64 PR: 257468 MFH: 2021Q3 (cherry picked from commit 447def6dd2c2dd4eb908b4e41ec607e34280bf6c)
-rw-r--r--www/chromium/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/www/chromium/Makefile b/www/chromium/Makefile
index 2613b70a6fe3..e4bceb5b49d1 100644
--- a/www/chromium/Makefile
+++ b/www/chromium/Makefile
@@ -134,6 +134,7 @@ SUB_LIST+= COMMENT="${COMMENT}"
OPTIONS_DEFINE= CODECS CUPS DEBUG DRIVER KERBEROS LTO TEST
OPTIONS_DEFAULT= CODECS CUPS DRIVER KERBEROS SNDIO
+OPTIONS_EXCLUDE_aarch64=LTO
OPTIONS_GROUP= AUDIO
OPTIONS_GROUP_AUDIO= ALSA PULSEAUDIO SNDIO
OPTIONS_RADIO= KERBEROS
@@ -182,6 +183,7 @@ KERBEROS_VARS_OFF= GN_ARGS+=use_kerberos=false
LTO_VARS= GN_ARGS+=use_thin_lto=true \
GN_ARGS+=thin_lto_enable_optimizations=true \
WANTSPACE="14 GB"
+LTO_VARS_OFF= GN_ARGS+=use_thin_lto=false
MIT_LIB_DEPENDS= libkrb.so.3:security/krb5
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio