Skip to content

Commit 1237128

Browse files
committed
Compilation: Synchronize some libcxx CXXFLAGS with upstream.
1 parent 963d7ce commit 1237128

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Compilation.zig

+2-2
Original file line numberDiff line numberDiff line change
@@ -5382,15 +5382,15 @@ pub fn addCCArgs(
53825382
try argv.append("-D_LIBCPP_HAS_MUSL_LIBC");
53835383
}
53845384
try argv.append("-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS");
5385-
try argv.append("-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS");
53865385
try argv.append("-D_LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS");
5386+
try argv.append("-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS");
53875387

53885388
if (!comp.config.any_non_single_threaded) {
53895389
try argv.append("-D_LIBCPP_HAS_NO_THREADS");
53905390
}
53915391

53925392
// See the comment in libcxx.zig for more details about this.
5393-
try argv.append("-D_LIBCPP_PSTL_CPU_BACKEND_SERIAL");
5393+
try argv.append("-D_LIBCPP_PSTL_BACKEND_SERIAL");
53945394

53955395
try argv.append(try std.fmt.allocPrint(arena, "-D_LIBCPP_ABI_VERSION={d}", .{
53965396
@intFromEnum(comp.libcxx_abi_version),

0 commit comments

Comments
 (0)