Commit 014d88ef65

Andre Herbst <moormaster@gmx.net>
2023-08-02 22:45:37
libunwind: Remove include for libcxx as its also done in upstream llvm repo
1 parent 35b85d3
Changed files (1)
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.