Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Sep 2021 20:41:54 GMT
From:      Rene Ladan <rene@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: 909de6c431b7 - 2021Q3 - www/chromium: fix build on aarch64 (RPI4)
Message-ID:  <202109012041.181KfsA3030028@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2021Q3 has been updated by rene:

URL: https://cgit.FreeBSD.org/ports/commit/?id=909de6c431b73f6d4c28b818506ae80f62668c21

commit 909de6c431b73f6d4c28b818506ae80f62668c21
Author:     Bob Prohaska <fbsd@www.zefox.net>
AuthorDate: 2021-09-01 10:08:16 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2021-09-01 20:35:55 +0000

    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)
---
 www/chromium/Makefile | 2 ++
 1 file changed, 2 insertions(+)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109012041.181KfsA3030028>