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