use -nostdinc++ when compiling C code
This commit is contained in:
@@ -8151,6 +8151,7 @@ static void gen_c_object(CodeGen *g, Buf *self_exe_path, CFile *c_file) {
|
||||
}
|
||||
|
||||
args.append("-nobuiltininc");
|
||||
args.append("-nostdinc++");
|
||||
|
||||
args.append("-isystem");
|
||||
args.append(buf_ptr(g->zig_c_headers_dir));
|
||||
|
||||
Reference in New Issue
Block a user