android: tweak the GC compilation flags
authorAlexis Laferrière <alexis.laf@xymus.net>
Sun, 12 Nov 2017 22:54:02 +0000 (17:54 -0500)
committerAlexis Laferrière <alexis.laf@xymus.net>
Tue, 28 Nov 2017 14:31:29 +0000 (09:31 -0500)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

src/platform/android.nit

index 69d64d7..98ac187 100644 (file)
@@ -299,7 +299,7 @@ set(lib_build_DIR ../libgc/outputs)
 file(MAKE_DIRECTORY ${lib_build_DIR})
 
 ## Config
-add_definitions("-DGC_PTHREADS")
+add_definitions("-DALL_INTERIOR_POINTERS -DGC_THREADS -DUSE_MMAP -DUSE_MUNMAP -DJAVA_FINALIZATION -DNO_EXECUTE_PERMISSION -DGC_DONT_REGISTER_MAIN_STATIC_DATA")
 set(enable_threads TRUE)
 set(CMAKE_USE_PTHREADS_INIT TRUE)