Skip to content

Commit

Permalink
Coff Linker: Pass extra lld args
Browse files Browse the repository at this point in the history
Previously these were added to the hash but not actually appended to the
linker arguments.
  • Loading branch information
kkartaltepe committed Jul 23, 2021
1 parent 7ce9cc6 commit 9a76b33
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/link/Coff.zig
Original file line number Diff line number Diff line change
Expand Up @@ -1048,6 +1048,9 @@ fn linkWithLLD(self: *Coff, comp: *Compilation) !void {
if (self.base.options.dynamicbase) {
try argv.append("-dynamicbase");
}

try argv.appendSlice(self.base.options.extra_lld_args);

const subsystem_suffix = ss: {
if (self.base.options.major_subsystem_version) |major| {
if (self.base.options.minor_subsystem_version) |minor| {
Expand Down

0 comments on commit 9a76b33

Please sign in to comment.