From 6336aaf785e2990ec825fe480db7789e6752d97f Mon Sep 17 00:00:00 2001 From: Jora Troosh Date: Mon, 22 Jul 2024 17:01:05 +0300 Subject: [PATCH] fix: correct condition for CoreSight mode --- build.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.zig b/build.zig index 88ad636..b98ac38 100644 --- a/build.zig +++ b/build.zig @@ -465,7 +465,7 @@ pub fn build(b: *std.Build) !void { const tokencap_lib_install = b.addInstallArtifact(tokencap_lib, .{ .dylib_symlinks = false }); util_libs_step.dependOn(&tokencap_lib_install.step); - if (build_coresight and target.result.cpu.arch.isAARCH64() and target.result.ofmt == .elf) { + if (build_coresight and target.result.cpu.arch.isAARCH64() and target.result.os.tag == .linux) { // TODO: CoreSight mode (coresight_mode/GNUmakefile) } }