summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
-rw-r--r--src/qcommon/q_platform.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6876a392..e4f042f4 100644
--- a/Makefile
+++ b/Makefile
@@ -322,6 +322,10 @@ ifneq (,$(findstring "$(PLATFORM)", "linux" "gnu_kfreebsd" "kfreebsd-gnu" "gnu")
else
ifeq ($(ARCH),s390x)
LIB=lib64
+ else
+ ifeq ($(ARCH),aarch64)
+ LIB=lib64
+ endif
endif
endif
endif
diff --git a/src/qcommon/q_platform.h b/src/qcommon/q_platform.h
index f04bf433..f3518bfc 100644
--- a/src/qcommon/q_platform.h
+++ b/src/qcommon/q_platform.h
@@ -208,6 +208,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__