add next gen (ng) runtime library designation for libobjc2 plus latest compiler

options


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@38532 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2015-05-24 19:32:18 +00:00
parent 84a06a5581
commit 626f795310

View file

@ -47,6 +47,10 @@ ifeq ($(the_library_combo), gnu)
the_library_combo = gnu-gnu-gnu
endif
ifeq ($(the_library_combo), ng)
the_library_combo = ng-gnu-gnu
endif
ifeq ($(the_library_combo), fd)
the_library_combo = gnu-fd-gnu
endif
@ -100,6 +104,14 @@ ifeq ($(OBJC_RUNTIME_LIB), gnu)
RUNTIME_DEFINE = -DGNU_RUNTIME=1
endif
ifeq ($(OBJC_RUNTIME_LIB), ng)
OBJC_LDFLAGS =
OBJC_LIB_DIR =
OBJC_LIBS = $(OBJC_LIB_FLAG) -fobjc-nonfragile-abi
RUNTIME_FLAG = -fobjc-runtime=gnustep -fblocks -fno-objc-legacy-dispatch
RUNTIME_DEFINE = -DGNU_RUNTIME=1 -D_NONFRAGILE_ABI=1
endif
ifeq ($(OBJC_RUNTIME_LIB), gnugc)
OBJC_LDFLAGS =
OBJC_LIB_DIR =