diff options
author | Zoltan Varga <vargaz@gmail.com> | 2013-05-25 01:41:39 +0400 |
---|---|---|
committer | Zoltan Varga <vargaz@gmail.com> | 2013-05-25 01:41:50 +0400 |
commit | bab31bcb5831e5d8480e1f84d389402e5bd6c6ac (patch) | |
tree | 5a554b9730a923aec417c9a96bbefea0f4594016 /configure.in | |
parent | a6d12819a7223aa352a7ec63afb84865bc09d48a (diff) |
Merge some Nacl/ARM changes from https://github.com/igotti-google/mono/commit/65d8d68e8c81cf6adb1076de7a9425c84cab86a3.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 028df78e862..930ed117c32 100644 --- a/configure.in +++ b/configure.in @@ -2331,7 +2331,13 @@ else CPPFLAGS="$CPPFLAGS -D__default_codegen__" fi if test "x$enable_nacl_gc" = "xyes"; then - CPPFLAGS="$CPPFLAGS -finstrument-for-thread-suspension -D__native_client_gc__" + if test "x$TARGET" = "xAMD64" -o "x$TARGET" = "xX86"; then + INSTRUMENT_CFLAG="-finstrument-for-thread-suspension" + else + # Not yet implemented + INSTRUMENT_CFLAG="" + fi + CPPFLAGS="$CPPFLAGS $INSTRUMENT_CFLAG -D__native_client_gc__" fi AC_SUBST(MONO_NACL_ALIGN_MASK_OFF) |