aboutsummaryrefslogtreecommitdiff
path: root/src/Compilation.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2023-12-15 14:43:39 -0700
committerAndrew Kelley <andrew@ziglang.org>2024-01-01 17:51:19 -0700
commit92b54e50c85488459df0c6579086494e31d9d52a (patch)
treeaf47e99a9792be17dd84d00381db662925a8a9f3 /src/Compilation.zig
parentea0ba4f2b572fad8595ae02ac9c43ab7dd0cc2f2 (diff)
downloadzig-92b54e50c85488459df0c6579086494e31d9d52a.tar.gz
zig-92b54e50c85488459df0c6579086494e31d9d52a.zip
glibc: update to new Compilation API
Diffstat (limited to 'src/Compilation.zig')
-rw-r--r--src/Compilation.zig2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Compilation.zig b/src/Compilation.zig
index 2a2ef3e329..7b7e85d0f7 100644
--- a/src/Compilation.zig
+++ b/src/Compilation.zig
@@ -6158,6 +6158,7 @@ fn buildOutputFromZig(
},
.fully_qualified_name = "root",
.inherited = .{
+ .resolved_target = comp.root_mod.resolved_target,
.strip = comp.compilerRtStrip(),
.stack_check = false,
.stack_protector = 0,
@@ -6269,6 +6270,7 @@ pub fn build_crt_file(
},
.fully_qualified_name = "root",
.inherited = .{
+ .resolved_target = comp.root_mod.resolved_target,
.strip = comp.compilerRtStrip(),
.stack_check = false,
.stack_protector = 0,