Skip to content

Commit

Permalink
fix: correct condition for CoreSight mode
Browse files Browse the repository at this point in the history
  • Loading branch information
tensorush committed Jul 22, 2024
1 parent f841327 commit 6336aaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
Expand Down

0 comments on commit 6336aaf

Please sign in to comment.