projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e666a5e
)
[build] Added support for ARM64 Android cross-compilation.
author
João Matos
<joao@tritao.eu>
Fri, 28 Nov 2014 16:50:21 +0000
(16:50 +0000)
committer
João Matos
<joao@tritao.eu>
Fri, 28 Nov 2014 17:07:05 +0000
(17:07 +0000)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index 979f4a18db6d63bd37c4ecd48fc46f6f00f55152..2e3078be9a4066b3fca12fbc465cc38d3170629c 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-2796,7
+2796,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
;;