Skip to content

Commit 6336aaf

Browse files
committed
fix: correct condition for CoreSight mode
1 parent f841327 commit 6336aaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.zig

+1-1
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ pub fn build(b: *std.Build) !void {
465465
const tokencap_lib_install = b.addInstallArtifact(tokencap_lib, .{ .dylib_symlinks = false });
466466
util_libs_step.dependOn(&tokencap_lib_install.step);
467467

468-
if (build_coresight and target.result.cpu.arch.isAARCH64() and target.result.ofmt == .elf) {
468+
if (build_coresight and target.result.cpu.arch.isAARCH64() and target.result.os.tag == .linux) {
469469
// TODO: CoreSight mode (coresight_mode/GNUmakefile)
470470
}
471471
}

0 commit comments

Comments
 (0)