commit 014d88ef657e1736a36e92b0a5b0c650db9e5091 (tree)
parent 35b85d3ba53fa750abe4b7ca33c9b059354618ab
Author: Andre Herbst <moormaster@gmx.net>
Date: Wed, 2 Aug 2023 22:45:37 +0200
libunwind: Remove include for libcxx as its also done in upstream llvm repo
Diffstat:
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git 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.