ports/devel/freebsd-gcc12/files/patch-gcc_c-family_c.opt
John Baldwin e858e20eec devel/freebsd-gcc12: Use -stdlib=libc++ to use libc++.
Instead of overriding the path and library name of libstdc++, set the
path for libc++ and change the default of -stdlib= from libstdc++ to
libc++.
2023-08-05 08:24:11 -07:00

11 lines
521 B
Text

--- gcc/c-family/c.opt.orig 2023-07-01 21:56:03 UTC
+++ gcc/c-family/c.opt
@@ -2464,7 +2464,7 @@ stdlib=
Conform to the ISO 2017 C standard (published in 2018).
stdlib=
-Driver C++ ObjC++ Common Condition(ENABLE_STDLIB_OPTION) Var(flag_stdlib_kind) Joined Enum(stdlib_kind) RejectNegative Init(1)
+Driver C++ ObjC++ Common Condition(ENABLE_STDLIB_OPTION) Var(flag_stdlib_kind) Joined Enum(stdlib_kind) RejectNegative Init(2)
-stdlib=[libstdc++|libc++] The standard library to be used for C++ headers
and runtime.