zig cc: add detection for -###

it turns on --verbose-cc and --verbose-link
This commit is contained in:
Andrew Kelley
2020-03-25 19:32:12 -04:00
parent 9dbfee49d7
commit e3fec6cce9
5 changed files with 18 additions and 1 deletions

View File

@@ -708,6 +708,10 @@ static int main0(int argc, char **argv) {
case Stage2ClangArgLinkerScript:
linker_script = it.only_arg;
break;
case Stage2ClangArgVerboseCmds:
verbose_cc = true;
verbose_link = true;
break;
}
}
// Parse linker args