Skip to content

Commit 4004334

Browse files
committed
add arm64- prefix detection
1 parent cfdc0e7 commit 4004334

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Changes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
Revision history for {{$dist->name}}
22

33
{{$NEXT}}
4+
- CPU detection with archname arm64- prefix (gh#411, gh#412)
45

56
2.81_01 2023-06-24 09:54:28 -0600
67
- Added support for xz compression with

lib/Alien/Build/Plugin/Core/Setup.pm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,7 @@ sub _cpu_arch {
243243
}
244244
} elsif( $Config{archname} =~ /
245245
\b aarch64 \b
246+
| \b arm64 \b # arm64-freebsd (FreeBSD can have either aarch64 or arm64)
246247
/ix ) {
247248
$arch = { name => 'aarch64' }; # ARM64
248249
} elsif( $Config{archname} =~ m/

0 commit comments

Comments
 (0)