Skip to content

Commit df97bb5

Browse files
committed
fix(build): enable LLVM backend for glibc 2.41 compatibility
1 parent ad7ee00 commit df97bb5

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

build.zig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ pub fn build(b: *std.Build) void {
3939
.optimize = optimize,
4040
.link_libc = true,
4141
}),
42+
// NOTE: Only for 0.16.0, can be removed in 0.17.0
43+
// See: https://codeberg.org/ziglang/zig/issues/31272#issuecomment-13790015
44+
.use_llvm = true,
4245
});
4346

4447
const options = b.addOptions();

0 commit comments

Comments
 (0)