| author | |
| committer | |
| log | 7b9f8782c868b8331181bd47361e4dee2d8aebfe |
| tree | bf869659c66aced8721599aff36b0d2f20cfcc76 |
| parent | 8311fac7e853f7e8454e79794ab9060a488a7875 |
1 files changed, 4 insertions(+), 0 deletions(-)
build.zig+4| ... | ... | @@ -224,6 +224,10 @@ pub fn build(b: *std.Build) !void { |
| 224 | 224 | check_case_exe.want_lto = false; |
| 225 | 225 | } |
| 226 | 226 | |
| 227 | const use_llvm = b.option(bool, "use-llvm", "Use the llvm backend"); | |
| 228 | exe.use_llvm = use_llvm; | |
| 229 | exe.use_lld = use_llvm; | |
| 230 | ||
| 227 | 231 | const exe_options = b.addOptions(); |
| 228 | 232 | exe.addOptions("build_options", exe_options); |
| 229 | 233 |