diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2021-11-23 13:52:44 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-23 13:52:44 -0500 |
| commit | 8e6c038dd81fa7eddfdac882aa3b1d5edbdcf329 (patch) | |
| tree | fa3390a85e0836ad4dcc6420e92965c7317b90c7 /src/Compilation.zig | |
| parent | f5c0c0803fab4a18d612cc8b8649566463cf5d60 (diff) | |
| parent | 0c1d610015e04c96508750e95b2f88408ded8843 (diff) | |
| download | zig-8e6c038dd81fa7eddfdac882aa3b1d5edbdcf329.tar.gz zig-8e6c038dd81fa7eddfdac882aa3b1d5edbdcf329.zip | |
Merge pull request #10208 from ziglang/zld-frameworks
zld: resolve frameworks in BFS order and handle additional macOS flags
Diffstat (limited to 'src/Compilation.zig')
| -rw-r--r-- | src/Compilation.zig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Compilation.zig b/src/Compilation.zig index e23b6a12e4..48899f6f6e 100644 --- a/src/Compilation.zig +++ b/src/Compilation.zig @@ -758,6 +758,7 @@ pub const InitOptions = struct { image_base_override: ?u64 = null, self_exe_path: ?[]const u8 = null, version: ?std.builtin.Version = null, + compatibility_version: ?std.builtin.Version = null, libc_installation: ?*const LibCInstallation = null, machine_code_model: std.builtin.CodeModel = .default, clang_preprocessor_mode: ClangPreprocessorMode = .no, @@ -1439,6 +1440,7 @@ pub fn create(gpa: *Allocator, options: InitOptions) !*Compilation { .extra_lld_args = options.lld_argv, .soname = options.soname, .version = options.version, + .compatibility_version = options.compatibility_version, .libc_installation = libc_dirs.libc_installation, .pic = pic, .pie = pie, |
