| ... | ... | @@ -42,11 +42,7 @@ pub fn buildStaticLib(comp: *Compilation, prog_node: *std.Progress.Node) !void { |
| 42 | 42 | try cflags.append("-std=c11"); |
| 43 | 43 | }, |
| 44 | 44 | .cpp => { |
| 45 | | try cflags.appendSlice(&[_][]const u8{ |
| 46 | | "-fno-rtti", |
| 47 | | "-I", |
| 48 | | try comp.zig_lib_directory.join(arena, &[_][]const u8{ "libcxx", "include" }), |
| 49 | | }); |
| 45 | try cflags.appendSlice(&[_][]const u8{"-fno-rtti"}); |
| 50 | 46 | }, |
| 51 | 47 | .assembly_with_cpp => {}, |
| 52 | 48 | else => unreachable, // You can see the entire list of files just above. |