Add support for Aarch64 (ARM64)

Add support for Aarch64, the 64-bit ARM architecture.
This commit is contained in:
Martin Michlmayr 2015-06-30 14:22:49 -04:00
parent 6d62dc3646
commit ebb69f699c
2 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -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__