mirror of
https://github.com/darlinghq/darling-libobjc2.git
synced 2025-01-14 00:13:01 +00:00
Enable GC support by default. You can still turn it off with boehm_gc=no.
This commit is contained in:
parent
3508ab6ccf
commit
c6fc399a73
@ -80,10 +80,10 @@ ifeq ($(low_memory), yes)
|
||||
libobjc_CPPFLAGS += -D__OBJC_LOW_MEMORY__
|
||||
endif
|
||||
|
||||
ifeq ($(boehm_gc), yes)
|
||||
ifneq ($(boehm_gc), no)
|
||||
libobjc_C_FILES += gc_boehm.c
|
||||
libobjc_LIBRARIES_DEPEND_UPON += -lgc-threaded
|
||||
libobjc_OBJCFLAGS += -fobjc-gc
|
||||
#libobjc_OBJCFLAGS += -fobjc-gc
|
||||
libobjc_CPPFLAGS += -DENABLE_GC
|
||||
endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user