diff options
| author | Jakub Konka <kubkon@jakubkonka.com> | 2020-11-06 10:58:49 +0100 |
|---|---|---|
| committer | Jakub Konka <kubkon@jakubkonka.com> | 2020-11-06 11:34:51 +0100 |
| commit | b7c3ebcb9e3aefbdd82a43c7ab122931787c7805 (patch) | |
| tree | 4136470a9950065a63e77f5ef61d93e2b3b0f93f /src/link.zig | |
| parent | e0e3ceac19c0de0f8b3e408f9d3728496bc051f7 (diff) | |
| download | zig-b7c3ebcb9e3aefbdd82a43c7ab122931787c7805.tar.gz zig-b7c3ebcb9e3aefbdd82a43c7ab122931787c7805.zip | |
Rely on ZIG_SYSTEM_LINKER_HACK instead of input flags
Diffstat (limited to 'src/link.zig')
| -rw-r--r-- | src/link.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/link.zig b/src/link.zig index 65074924d1..7b0271f978 100644 --- a/src/link.zig +++ b/src/link.zig @@ -57,8 +57,8 @@ pub const Options = struct { /// other objects. /// Otherwise (depending on `use_lld`) this link code directly outputs and updates the final binary. use_llvm: bool, - /// If this is true and `use_llvm` is true, this link code will use system linker `ld` instead of - /// the LLD. + /// Darwin-only. If this is true, `use_llvm` is true, and `is_native_os` is true, this link code will + /// use system linker `ld` instead of the LLD. system_linker_hack: bool, link_libc: bool, link_libcpp: bool, |
