diff --git a/Makefile b/Makefile index 621fc30d..47db4bd8 100644 --- a/Makefile +++ b/Makefile @@ -335,6 +335,10 @@ ifneq (,$(findstring "$(PLATFORM)", "linux" "gnu_kfreebsd" "kfreebsd-gnu")) else ifeq ($(ARCH),s390x) LIB=lib64 + else + ifeq ($(ARCH),aarch64) + LIB=lib64 + endif endif endif endif diff --git a/code/qcommon/q_platform.h b/code/qcommon/q_platform.h index 999dd39a..ad606704 100644 --- a/code/qcommon/q_platform.h +++ b/code/qcommon/q_platform.h @@ -205,6 +205,8 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #define ARCH_STRING "sparc" #elif defined __arm__ #define ARCH_STRING "arm" +#elif defined __aarch64__ +#define ARCH_STRING "aarch64" #elif defined __cris__ #define ARCH_STRING "cris" #elif defined __hppa__