Zig treats -lstdc++ identically to -lc++

Thanks to Michael Dusan for figuring out what was happening here.

closes #5012
This commit is contained in:
Andrew Kelley
2020-04-12 00:50:16 -04:00
parent f79faf9008
commit d27ef1aaef
2 changed files with 24 additions and 9 deletions

View File

@@ -9252,6 +9252,7 @@ void add_cc_args(CodeGen *g, ZigList<const char *> &args, const char *out_dep_pa
}
args.append("-nostdinc");
args.append("-nostdinc++");
args.append("-fno-spell-checking");
if (g->function_sections) {