link: add force_undefined_symbols to cache hash
Follow-up for d5233ee85c.
This commit is contained in:
@@ -2516,6 +2516,7 @@ fn addNonIncrementalStuffToCacheManifest(comp: *Compilation, man: *Cache.Manifes
|
||||
man.hash.addOptionalBytes(comp.bin_file.options.soname);
|
||||
man.hash.addOptional(comp.bin_file.options.version);
|
||||
link.hashAddSystemLibs(&man.hash, comp.bin_file.options.system_libs);
|
||||
man.hash.addListOfBytes(comp.bin_file.options.force_undefined_symbols.keys());
|
||||
man.hash.addOptional(comp.bin_file.options.allow_shlib_undefined);
|
||||
man.hash.add(comp.bin_file.options.bind_global_refs_locally);
|
||||
man.hash.add(comp.bin_file.options.tsan);
|
||||
|
||||
@@ -1032,6 +1032,7 @@ fn linkWithLLD(self: *Coff, comp: *Compilation, prog_node: *std.Progress.Node) !
|
||||
}
|
||||
}
|
||||
link.hashAddSystemLibs(&man.hash, self.base.options.system_libs);
|
||||
man.hash.addListOfBytes(self.base.options.force_undefined_symbols.keys());
|
||||
man.hash.addOptional(self.base.options.subsystem);
|
||||
man.hash.add(self.base.options.is_test);
|
||||
man.hash.add(self.base.options.tsaware);
|
||||
|
||||
@@ -1349,6 +1349,7 @@ fn linkWithLLD(self: *Elf, comp: *Compilation, prog_node: *std.Progress.Node) !v
|
||||
man.hash.addOptionalBytes(self.base.options.soname);
|
||||
man.hash.addOptional(self.base.options.version);
|
||||
link.hashAddSystemLibs(&man.hash, self.base.options.system_libs);
|
||||
man.hash.addListOfBytes(self.base.options.force_undefined_symbols.keys());
|
||||
man.hash.add(allow_shlib_undefined);
|
||||
man.hash.add(self.base.options.bind_global_refs_locally);
|
||||
man.hash.add(self.base.options.compress_debug_sections);
|
||||
|
||||
Reference in New Issue
Block a user