From 014d88ef657e1736a36e92b0a5b0c650db9e5091 Mon Sep 17 00:00:00 2001 From: Andre Herbst Date: Wed, 2 Aug 2023 22:45:37 +0200 Subject: [PATCH] libunwind: Remove include for libcxx as its also done in upstream llvm repo --- src/libunwind.zig | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/libunwind.zig b/src/libunwind.zig index 6c46b6bb28..da248c021f 100644 --- a/src/libunwind.zig +++ b/src/libunwind.zig @@ -42,11 +42,7 @@ pub fn buildStaticLib(comp: *Compilation, prog_node: *std.Progress.Node) !void { try cflags.append("-std=c11"); }, .cpp => { - try cflags.appendSlice(&[_][]const u8{ - "-fno-rtti", - "-I", - try comp.zig_lib_directory.join(arena, &[_][]const u8{ "libcxx", "include" }), - }); + try cflags.appendSlice(&[_][]const u8{"-fno-rtti"}); }, .assembly_with_cpp => {}, else => unreachable, // You can see the entire list of files just above.