zig cc: integration with sysroot arg (#10568)

Prior to this change, even if the use specified the sysroot on the
compiler line like so

```
zig cc --sysroot=/path/to/sdk
```

it would only be used as a prefix to include paths and not as a prefix
for `zig ld` linker.
3542dcad33Jakub Konka committed on 1/12/2022, 6:58:36 PM· committed by Andrew Kelleyparent9b97edb
3 files changedLine totals unavailable