diff options
author | Martin Michlmayr <tbm@cyrius.com> | 2015-06-30 14:22:49 -0400 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2016-04-07 11:02:29 +0100 |
commit | 657a3a4a11381deaff4f9328e16a7b3f3217fa21 (patch) | |
tree | a3b1ecd8e0c311437cb4e22c2806245402243117 | |
parent | f2b5400e983a4cf20da96783908a0a825e9f60c6 (diff) |
Add support for Aarch64 (ARM64)
Add support for Aarch64, the 64-bit ARM architecture.
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | src/qcommon/q_platform.h | 2 |
2 files changed, 6 insertions, 0 deletions
@@ -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__ |