Skip to content

Commit a7197eb

Browse files
authored
Fix CMAKE_SYSTEM_PROCESSOR for aarch64 compilers (#75)
It needs to be aarch64, since that's what uname -m prints on those systems.
1 parent 9e69f79 commit a7197eb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

makes/src/91-cmake-cfg.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,12 @@ mkdir -p "${BUILD_DIR}/cmake-install/${WPI_HOST_PREFIX}"
2424
xcd "${BUILD_DIR}/cmake-install/${WPI_HOST_PREFIX}"
2525

2626
case "${TARGET_TUPLE}" in
27-
arm* | aarch64*)
27+
arm*)
2828
PROCESSOR=arm
2929
;;
30+
aarch64*)
31+
PROCESSOR=aarch64
32+
;;
3033
x86_64*)
3134
PROCESSOR=AMD64
3235
;;

0 commit comments

Comments
 (0)