Merge "Get arm64 to compile."

This commit is contained in:
Christopher Ferris 2014-01-27 21:59:16 +00:00 committed by Gerrit Code Review
commit 39baa8296d
2 changed files with 2 additions and 3 deletions

View file

@ -23,8 +23,7 @@ common_shared_libs := \
liblog \ liblog \
# To enable using libunwind on each arch, add it to this list. # To enable using libunwind on each arch, add it to this list.
libunwind_architectures := libunwind_architectures := arm64
#libunwind_architectures := arm
ifeq ($(TARGET_ARCH),$(filter $(TARGET_ARCH),$(libunwind_architectures))) ifeq ($(TARGET_ARCH),$(filter $(TARGET_ARCH),$(libunwind_architectures)))

View file

@ -43,7 +43,7 @@
#include <asm/sigcontext.h> #include <asm/sigcontext.h>
#include <asm/ucontext.h> #include <asm/ucontext.h>
typedef struct ucontext ucontext_t; typedef struct ucontext ucontext_t;
#elif !defined(__mips__) #elif !defined(__mips__) && !defined(__aarch64__)
#error Unsupported architecture. #error Unsupported architecture.
#endif #endif