| author | |
| committer | |
| log | 20b2457388c924ec01cc6ea9d5331edbf27176ff |
| tree | 23c4b7dd040e63e9d1b112b8206fd58771472248 |
| parent | d27ef1aaef8ac12801ba4e6c2ed748c7151096a7 |
| signature |
This is a follow-up to d27ef1aaef8ac12801ba4e6c2ed748c7151096a7
and avoids compiler warnings:
warning: argument unused during compilation: '-nostdinc++'1 files changed, 3 insertions(+), 1 deletions(-)
src/codegen.cpp+3-1| ... | ... | @@ -9252,7 +9252,9 @@ void add_cc_args(CodeGen *g, ZigList<const char *> &args, const char *out_dep_pa |
| 9252 | 9252 | } |
| 9253 | 9253 | |
| 9254 | 9254 | args.append("-nostdinc"); |
| 9255 | args.append("-nostdinc++"); | |
| 9255 | if (source_kind == FileExtCpp) { | |
| 9256 | args.append("-nostdinc++"); | |
| 9257 | } | |
| 9256 | 9258 | args.append("-fno-spell-checking"); |
| 9257 | 9259 | |
| 9258 | 9260 | if (g->function_sections) { |