Skip to content

Commit

Permalink
[build] Added support for ARM64 Android cross-compilation.
Browse files Browse the repository at this point in the history
  • Loading branch information
tritao committed Nov 28, 2014
1 parent 4e94779 commit 9331fc9
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -2806,7 +2806,18 @@ if test "x$host" != "x$target"; then
# in mono-compiler.h
with_tls=pthread
target_mach=no
;;
;;
aarch64*-linux-*)
TARGET=ARM64;
arch_target=arm64;
AC_DEFINE(TARGET_ARM64, 1, [...])
AC_DEFINE(TARGET_ANDROID, 1, [...])
CPPFLAGS="$CPPFLAGS"
# Can't use tls, since it depends on the runtime detection of tls offsets
# in mono-compiler.h
with_tls=pthread
target_mach=no
;;
aarch64-*)
TARGET=ARM64
;;
Expand Down

0 comments on commit 9331fc9

Please sign in to comment.