build: fix default for -Dllvm build option

This commit is contained in:
Isaac Freund
2026-05-21 09:05:23 +02:00
parent 273f31016a
commit b1af960e1b
+1 -1
View File
@@ -16,7 +16,7 @@ pub fn build(b: *Build) !void {
const strip = b.option(bool, "strip", "Omit debug information") orelse false; const strip = b.option(bool, "strip", "Omit debug information") orelse false;
const pie = b.option(bool, "pie", "Build a Position Independent Executable") orelse false; const pie = b.option(bool, "pie", "Build a Position Independent Executable") orelse false;
const use_llvm = b.option(bool, "llvm", "Force use of Zig's LLVM backend and the lld linker") orelse false; const use_llvm = b.option(bool, "llvm", "Force use of Zig's LLVM backend and the lld linker");
const omit_frame_pointer = switch (optimize) { const omit_frame_pointer = switch (optimize) {
.Debug, .ReleaseSafe => false, .Debug, .ReleaseSafe => false,