Jakub Konka e0e3ceac19 Re-enable system linker hack
It is now possible to force linking with system linker `ld` instead
of the LLVM `lld` linker when building natively on the target. This
can be done at each stage by specifying `--system-linker-hack` flag,
and can be useful on platforms where `lld` fails to operate properly
such as macOS 11 Big Sur on ARM64 where every binary/dylib is expected
to be codesigned.

Some example invocations for each stage of compilation of Zig
toolchain:

```
cmake .. -DCMAKE_PREFIX_PATH=/path/to/llvm -DSYSTEM_LINKER_HACK=1
```

```
build/zig build test --system-linker-hack
```

```
build/zig build --prefix $(pwd)/stage2 -Denable-llvm
--system-linker-hack
```

```
build/zig build-exe hello.zig --system-linker-hack
```
2020-11-05 18:35:51 +01:00
..
2020-10-28 10:36:19 +01:00
2020-11-01 15:40:42 -05:00
2020-10-28 10:03:23 +01:00
2020-11-04 18:30:48 -06:00
2020-11-05 18:35:51 +01:00
2020-11-02 13:20:58 -05:00
2020-11-05 18:35:51 +01:00
2020-09-04 05:15:03 +03:00
2020-09-11 20:02:41 -04:00
2020-10-19 15:15:43 +02:00
2020-10-07 04:34:09 -04:00
2020-11-03 17:29:20 -05:00
2020-10-28 10:03:23 +01:00
2020-09-04 22:49:14 +03:00
2020-09-22 05:12:21 -07:00