summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Rapp <tobias.rapp@student.kit.edu>2013-11-28 14:24:30 +0100
committerTobias Rapp <tobias.rapp@student.kit.edu>2013-11-28 14:24:30 +0100
commite0a5a665d8706c334a82f2a93ea3c9db70659a6e (patch)
tree1d322bd8a367c08d92172c1b6f107e9dc37d19dc
parentbb06136be60d944cd58674c5f70d61d155369f0c (diff)
Enable object support for GC.gc_object
-rw-r--r--Makefile2
-rw-r--r--include/private/gcconfig.h3
2 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index be6df48..02c2b1b 100644
--- a/Makefile
+++ b/Makefile
@@ -62,7 +62,7 @@ endif
ifeq ($(findstring linux, $(TARGET)), linux)
SOURCES = $(COMMON_SOURCES) $(LINUX_SOURCES)
CPPFLAGS += -Ilibatomic_ops/src
- CPPFLAGS += -DGC_LINUX_THREADS -DPARALLEL_MARK -DTHREAD_LOCAL_ALLOC
+ CPPFLAGS += -DGC_LINUX_THREADS -DPARALLEL_MARK -DTHREAD_LOCAL_ALLOC -DGC_GCJ_SUPPORT
EXTRA_OBJECTS = libatomic_ops/libatomic_ops.a
endif
ifeq ($(findstring invasic, $(TARGET)), invasic)
diff --git a/include/private/gcconfig.h b/include/private/gcconfig.h
index af0e930..9f3d40f 100644
--- a/include/private/gcconfig.h
+++ b/include/private/gcconfig.h
@@ -547,8 +547,7 @@
# define DATASTART2 ((ptr_t)get_tlm_start())
# define DATAEND2 (((ptr_t)get_tlm_start()) + get_tlm_size())
-
-# undef GC_GCJ_SUPPORT
+# define GC_GCJ_SUPPORT
# undef PARALLEL_MARK
# define DONT_USE_ATEXIT