git: 872d61f8ead1 - main - lang/gcc12-devel: Switch back to standard bootstrap

From: Lorenzo Salvadore <salvadore_at_FreeBSD.org>
Date: Sat, 03 Jun 2023 14:16:36 UTC
The branch main has been updated by salvadore:

URL: https://cgit.FreeBSD.org/ports/commit/?id=872d61f8ead10a6d935117876cf60057a46770ff

commit 872d61f8ead10a6d935117876cf60057a46770ff
Author:     Lorenzo Salvadore <salvadore@FreeBSD.org>
AuthorDate: 2023-06-03 10:34:02 +0000
Commit:     Lorenzo Salvadore <salvadore@FreeBSD.org>
CommitDate: 2023-06-03 14:16:31 +0000

    lang/gcc12-devel: Switch back to standard bootstrap
    
    Switch back to STANDARD_BOOTSTRAP on i386, amd64 and aarch64 as default
    option instead of LTO_BOOTSTRAP: lto bootstrap produces too many
    failures on the package builders for those architectures.
    
    Users wanting to use LTO_BOOTSTRAP can still enable the option
    manually.
    
    The option stays enabled by default on powerpc, powerpc64 and
    powerpc64le, for which I do not have failure reports from package
    builders.
---
 lang/gcc12-devel/Makefile | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/lang/gcc12-devel/Makefile b/lang/gcc12-devel/Makefile
index 579dd508fdc0..003a269a9dd4 100644
--- a/lang/gcc12-devel/Makefile
+++ b/lang/gcc12-devel/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	gcc
 PORTVERSION=	12.3.1.s20230602
+PORTREVISION=	1
 CATEGORIES=	lang
 MASTER_SITES=	GCC/snapshots/${DIST_VERSION}
 PKGNAMESUFFIX=	${SUFFIX}-devel
@@ -43,9 +44,9 @@ CFLAGS:=	${CFLAGS:N-mretpoline}
 CXXFLAGS:=	${CXXFLAGS:N-mretpoline}
 
 OPTIONS_DEFINE=		GRAPHITE
-OPTIONS_DEFAULT_aarch64=LTO_BOOTSTRAP
-OPTIONS_DEFAULT_amd64=	LTO_BOOTSTRAP
-OPTIONS_DEFAULT_i386=	LTO_BOOTSTRAP
+OPTIONS_DEFAULT_aarch64=STANDARD_BOOTSTRAP
+OPTIONS_DEFAULT_amd64=	STANDARD_BOOTSTRAP
+OPTIONS_DEFAULT_i386=	STANDARD_BOOTSTRAP
 OPTIONS_DEFAULT_powerpc=LTO_BOOTSTRAP
 OPTIONS_DEFAULT_powerpc64=LTO_BOOTSTRAP
 OPTIONS_DEFAULT_powerpc64le=LTO_BOOTSTRAP