Coff Linker: Pass extra lld args

Previously these were added to the hash but not actually appended to the
linker arguments.
This commit is contained in:
Kurt Kartaltepe
2021-07-09 21:29:43 -07:00
committed by Andrew Kelley
parent a950cb42bd
commit fd369bcb0b

View File

@@ -1057,6 +1057,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| {