Skip to content

Commit

Permalink
Set the cpu model in the right place
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarred-Sumner committed Jul 12, 2024
1 parent c6a2ab5 commit 780bff7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,11 @@ pub fn build(b: *Build) !void {
break :brk .{ os, arch };
};

if (os == .linux and arch == .aarch64) {
// #12076
target_query.cpu_model = .{ .explicit = &std.Target.aarch64.cpu.cortex_a35 };
}

target_query.os_version_min = getOSVersionMin(os);
target_query.glibc_version = getOSGlibCVersion(os);

Expand Down

0 comments on commit 780bff7

Please sign in to comment.