View | Details | Raw Unified | Return to bug 265962 | Differences between
and this patch

Collapse All | Expand All

(-)b/lang/gcc11/Makefile (+2 lines)
Lines 1-5 Link Here
1
PORTNAME=	gcc
1
PORTNAME=	gcc
2
PORTVERSION=	11.3.0
2
PORTVERSION=	11.3.0
3
PORTREVISION=	1
3
CATEGORIES=	lang
4
CATEGORIES=	lang
4
MASTER_SITES=	GCC
5
MASTER_SITES=	GCC
5
PKGNAMESUFFIX=	${SUFFIX}
6
PKGNAMESUFFIX=	${SUFFIX}
Lines 90-95 CONFIGURE_ARGS+=--disable-nls \ Link Here
90
		--enable-gnu-indirect-function \
91
		--enable-gnu-indirect-function \
91
		--enable-host-shared \
92
		--enable-host-shared \
92
		--enable-plugin \
93
		--enable-plugin \
94
		--with-gxx-libcxx-include-dir=/usr/include/c++/v1 \
93
		--libdir=${TARGLIB} \
95
		--libdir=${TARGLIB} \
94
		--libexecdir=${LIBEXEC} \
96
		--libexecdir=${LIBEXEC} \
95
		--program-suffix=${SUFFIX} \
97
		--program-suffix=${SUFFIX} \
(-)b/lang/gcc11/files/patch-libcxxrt (+18 lines)
Added Link Here
1
libc++ on FreeBSD always uses PathScale libcxxrt and cannot change to
2
LLVM libc++abi without breaking backward compatibility. Besides, mixing
3
different C++ ABIs is not supported unless subset via DT_FILTER.
4
5
https://github.com/llvm/llvm-project/commit/35479ffb1251
6
https://github.com/freebsd/freebsd-src/commit/cf56074e5271
7
8
--- gcc/cp/g++spec.c
9
+++ gcc/cp/g++spec.c
10
@@ -60,7 +60,7 @@ along with GCC; see the file COPYING3.  If not see
11
 #endif
12
 
13
 #ifndef LIBCXXABI
14
-#define LIBCXXABI "c++abi"
15
+#define LIBCXXABI "cxxrt"
16
 #endif
17
 #ifndef LIBCXXABI_PROFILE
18
 #define LIBCXXABI_PROFILE LIBCXXABI

Return to bug 265962