git: 17024a6f8289 - main - lang/gcc*: disable building of libssp

From: Kyle Evans <kevans_at_FreeBSD.org>
Date: Tue, 29 Oct 2024 23:55:44 UTC
The branch main has been updated by kevans:

URL: https://cgit.FreeBSD.org/ports/commit/?id=17024a6f828904fbd57ff459b32f9ed21f77a1a4

commit 17024a6f828904fbd57ff459b32f9ed21f77a1a4
Author:     Kyle Evans <kevans@FreeBSD.org>
AuthorDate: 2024-10-29 23:52:59 +0000
Commit:     Kyle Evans <kevans@FreeBSD.org>
CommitDate: 2024-10-29 23:54:20 +0000

    lang/gcc*: disable building of libssp
    
    For today's FreeBSD 14 and earlier, libssp is a nop because nothing on
    FreeBSD will be referencing these headers or lib.  On FreeBSD 15, it
    actively breaks building with FORTIFY_SOURCE enabled and it's not worth
    trying to make it work- the potential for GCC improvements comes from
    the __builtin_object_size enhancement, not from these headers.
    
    PR:             280265
    Approved by:    salvadore (maintainer)
---
 lang/gcc11-devel/Makefile | 1 +
 lang/gcc11/Makefile       | 1 +
 lang/gcc12-devel/Makefile | 1 +
 lang/gcc12/Makefile       | 1 +
 lang/gcc13-devel/Makefile | 1 +
 lang/gcc13/Makefile       | 1 +
 lang/gcc14-devel/Makefile | 1 +
 lang/gcc14/Makefile       | 1 +
 lang/gcc15-devel/Makefile | 1 +
 9 files changed, 9 insertions(+)

diff --git a/lang/gcc11-devel/Makefile b/lang/gcc11-devel/Makefile
index 8a40fbd1d541..10f8d50e8678 100644
--- a/lang/gcc11-devel/Makefile
+++ b/lang/gcc11-devel/Makefile
@@ -103,6 +103,7 @@ INSTALL_TARGET=	install-strip
 BINMODE=	755
 .endif
 CONFIGURE_ARGS+=--disable-nls \
+		--disable-libssp \
 		--enable-gnu-indirect-function \
 		--enable-host-shared \
 		--enable-plugin \
diff --git a/lang/gcc11/Makefile b/lang/gcc11/Makefile
index be7b2ee7a7d9..7a1a61b04941 100644
--- a/lang/gcc11/Makefile
+++ b/lang/gcc11/Makefile
@@ -105,6 +105,7 @@ INSTALL_TARGET=	install-strip
 BINMODE=	755
 .endif
 CONFIGURE_ARGS+=--disable-nls \
+		--disable-libssp \
 		--enable-gnu-indirect-function \
 		--enable-host-shared \
 		--enable-plugin \
diff --git a/lang/gcc12-devel/Makefile b/lang/gcc12-devel/Makefile
index f34d3f659cab..017e02a11438 100644
--- a/lang/gcc12-devel/Makefile
+++ b/lang/gcc12-devel/Makefile
@@ -103,6 +103,7 @@ INSTALL_TARGET=	install-strip
 BINMODE=	755
 .endif
 CONFIGURE_ARGS+=--disable-nls \
+		--disable-libssp \
 		--enable-gnu-indirect-function \
 		--enable-host-shared \
 		--enable-plugin \
diff --git a/lang/gcc12/Makefile b/lang/gcc12/Makefile
index 0d28ba3fd5c6..e62dda04a44c 100644
--- a/lang/gcc12/Makefile
+++ b/lang/gcc12/Makefile
@@ -105,6 +105,7 @@ INSTALL_TARGET=	install-strip
 BINMODE=	755
 .endif
 CONFIGURE_ARGS+=--disable-nls \
+		--disable-libssp \
 		--enable-gnu-indirect-function \
 		--enable-host-shared \
 		--enable-plugin \
diff --git a/lang/gcc13-devel/Makefile b/lang/gcc13-devel/Makefile
index 76ac31cea8d5..296f1eb6e6d9 100644
--- a/lang/gcc13-devel/Makefile
+++ b/lang/gcc13-devel/Makefile
@@ -102,6 +102,7 @@ INSTALL_TARGET=	install-strip
 BINMODE=	755
 .endif
 CONFIGURE_ARGS+=--disable-nls \
+		--disable-libssp \
 		--enable-gnu-indirect-function \
 		--enable-host-shared \
 		--enable-plugin \
diff --git a/lang/gcc13/Makefile b/lang/gcc13/Makefile
index 0f51ab5ac4d6..aa47d51bb117 100644
--- a/lang/gcc13/Makefile
+++ b/lang/gcc13/Makefile
@@ -96,6 +96,7 @@ INSTALL_TARGET=	install-strip
 BINMODE=	755
 .endif
 CONFIGURE_ARGS+=--disable-nls \
+		--disable-libssp \
 		--enable-gnu-indirect-function \
 		--enable-host-shared \
 		--enable-plugin \
diff --git a/lang/gcc14-devel/Makefile b/lang/gcc14-devel/Makefile
index 18d17f2e76ed..b08afe37f210 100644
--- a/lang/gcc14-devel/Makefile
+++ b/lang/gcc14-devel/Makefile
@@ -108,6 +108,7 @@ INSTALL_TARGET=	install-strip
 BINMODE=	755
 .endif
 CONFIGURE_ARGS+=--disable-nls \
+		--disable-libssp \
 		--enable-gnu-indirect-function \
 		--enable-host-shared \
 		--enable-plugin \
diff --git a/lang/gcc14/Makefile b/lang/gcc14/Makefile
index af9486accfa6..ac42b0042fa5 100644
--- a/lang/gcc14/Makefile
+++ b/lang/gcc14/Makefile
@@ -97,6 +97,7 @@ INSTALL_TARGET=	install-strip
 BINMODE=	755
 .endif
 CONFIGURE_ARGS+=--disable-nls \
+		--disable-libssp \
 		--enable-gnu-indirect-function \
 		--enable-host-shared \
 		--enable-plugin \
diff --git a/lang/gcc15-devel/Makefile b/lang/gcc15-devel/Makefile
index 6f0c82dbf398..22ef7a9fc0d3 100644
--- a/lang/gcc15-devel/Makefile
+++ b/lang/gcc15-devel/Makefile
@@ -107,6 +107,7 @@ INSTALL_TARGET=	install-strip
 BINMODE=	755
 .endif
 CONFIGURE_ARGS+=--disable-nls \
+		--disable-libssp \
 		--enable-gnu-indirect-function \
 		--enable-host-shared \
 		--enable-plugin \