Enable GC support by default. You can still turn it off with boehm_gc=no.

main
theraven 15 years ago
parent 3508ab6ccf
commit c6fc399a73

@ -80,10 +80,10 @@ ifeq ($(low_memory), yes)
libobjc_CPPFLAGS += -D__OBJC_LOW_MEMORY__ libobjc_CPPFLAGS += -D__OBJC_LOW_MEMORY__
endif endif
ifeq ($(boehm_gc), yes) ifneq ($(boehm_gc), no)
libobjc_C_FILES += gc_boehm.c libobjc_C_FILES += gc_boehm.c
libobjc_LIBRARIES_DEPEND_UPON += -lgc-threaded libobjc_LIBRARIES_DEPEND_UPON += -lgc-threaded
libobjc_OBJCFLAGS += -fobjc-gc #libobjc_OBJCFLAGS += -fobjc-gc
libobjc_CPPFLAGS += -DENABLE_GC libobjc_CPPFLAGS += -DENABLE_GC
endif endif

Loading…
Cancel
Save