ports/devel/freebsd-gcc14/files/patch-gcc_cp_g++spec.cc
John Baldwin 97d1458569 devel/freebsd-gcc14: External FreeBSD toolchain based on GCC 14.
This port provides external GCC toolchains for GCC 14.1.0 for the
aarch64, amd64, armv7, i386, powerpc, powerpc64, and riscv64
platforms.

Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D46000
2024-07-29 16:41:18 -04:00

11 lines
456 B
C++

--- gcc/cp/g++spec.cc.orig 2024-05-07 06:51:37 UTC
+++ gcc/cp/g++spec.cc
@@ -97,7 +97,7 @@ lang_specific_driver (struct cl_decoded_option **in_de
int library = 0;
/* Which c++ runtime library to link. */
- stdcxxlib_kind which_library = USE_LIBSTDCXX;
+ stdcxxlib_kind which_library = USE_LIBCXX;
/* The number of arguments being added to what's in argv, other than
libraries. We use this to track the number of times we've inserted