aboutsummaryrefslogtreecommitdiff
path: root/src/link.zig
diff options
context:
space:
mode:
authorAlex Rønne Petersen <alex@alexrp.com>2024-07-26 21:05:40 +0200
committerJakub Konka <kubkon@jakubkonka.com>2024-07-28 14:37:03 +0200
commit642cd730c8b588778d8c1d6953134408b30dfab3 (patch)
tree430fe8e39eb8ea0b7d3f3c07cde56c523f02f79b /src/link.zig
parent91c17979f10db4fdc6639b176c0563718f060f47 (diff)
downloadzig-642cd730c8b588778d8c1d6953134408b30dfab3.tar.gz
zig-642cd730c8b588778d8c1d6953134408b30dfab3.zip
link: Accept `-Brepro` linker option and pass it to LLD.
Enable it by default when building Zig code in release modes. Contributes to #9432.
Diffstat (limited to 'src/link.zig')
-rw-r--r--src/link.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/link.zig b/src/link.zig
index f9ed515d26..f4ba9879fa 100644
--- a/src/link.zig
+++ b/src/link.zig
@@ -114,6 +114,7 @@ pub const File = struct {
major_subsystem_version: ?u16,
minor_subsystem_version: ?u16,
gc_sections: ?bool,
+ repro: bool,
allow_shlib_undefined: ?bool,
allow_undefined_version: bool,
enable_new_dtags: ?bool,