aboutsummaryrefslogtreecommitdiff
path: root/src/Compilation.zig
diff options
context:
space:
mode:
authorAlex Rønne Petersen <alex@alexrp.com>2024-08-26 00:54:51 +0200
committerAndrew Kelley <andrew@ziglang.org>2024-09-19 18:20:21 -0700
commit0082475ddb128c27116634e72ffe70072b6476d1 (patch)
treef772c85577223150ed13870ffd9c6f050e05d67d /src/Compilation.zig
parenta4d0a01243edf8832c3560f6c46637d52d47e5e8 (diff)
downloadzig-0082475ddb128c27116634e72ffe70072b6476d1.tar.gz
zig-0082475ddb128c27116634e72ffe70072b6476d1.zip
Compilation: Synchronize some libcxx CXXFLAGS with upstream.
Diffstat (limited to 'src/Compilation.zig')
-rw-r--r--src/Compilation.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Compilation.zig b/src/Compilation.zig
index 0c1bbda65d..3ca4d376e9 100644
--- a/src/Compilation.zig
+++ b/src/Compilation.zig
@@ -5382,15 +5382,15 @@ pub fn addCCArgs(
try argv.append("-D_LIBCPP_HAS_MUSL_LIBC");
}
try argv.append("-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS");
- try argv.append("-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS");
try argv.append("-D_LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS");
+ try argv.append("-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS");
if (!comp.config.any_non_single_threaded) {
try argv.append("-D_LIBCPP_HAS_NO_THREADS");
}
// See the comment in libcxx.zig for more details about this.
- try argv.append("-D_LIBCPP_PSTL_CPU_BACKEND_SERIAL");
+ try argv.append("-D_LIBCPP_PSTL_BACKEND_SERIAL");
try argv.append(try std.fmt.allocPrint(arena, "-D_LIBCPP_ABI_VERSION={d}", .{
@intFromEnum(comp.libcxx_abi_version),