From 0a1d9c35bfdb4a386d628fca16be791cc4a7ba26 Mon Sep 17 00:00:00 2001 From: kanjitalk755 Date: Sat, 20 Jan 2024 14:34:21 +0900 Subject: [PATCH] SS: fix for linux/aarch64 --- SheepShaver/src/Unix/configure.ac | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/SheepShaver/src/Unix/configure.ac b/SheepShaver/src/Unix/configure.ac index 512ff56e..8b0d7951 100755 --- a/SheepShaver/src/Unix/configure.ac +++ b/SheepShaver/src/Unix/configure.ac @@ -1263,9 +1263,11 @@ EOF fi fi -if [[ "$target_cpu" = "arm" -o "$target_cpu" = "aarch64" ]]; then - AC_DEFINE_UNQUOTED(NATMEM_OFFSET, 0x400000000000, [Define constant offset for Mac address translation]) -fi +case "$host" in + arm-apple-*) + AC_DEFINE_UNQUOTED(NATMEM_OFFSET, 0x400000000000, [Define constant offset for Mac address translation]) + ;; +esac AC_MSG_RESULT($WANT_ADDRESSING_MODE)