Author: rfm
Date: Sun May 24 21:32:18 2015
New Revision: 38532

URL: http://svn.gna.org/viewcvs/gnustep?rev=38532&view=rev
Log:
add next gen (ng) runtime library designation for libobjc2 plus latest compiler
options

Modified:
    libs/base/trunk/configure.ac
    tools/make/trunk/library-combo.make

Modified: libs/base/trunk/configure.ac
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/configure.ac?rev=38532&r1=38531&r2=38532&view=diff
==============================================================================
--- libs/base/trunk/configure.ac        (original)
+++ libs/base/trunk/configure.ac        Sun May 24 21:32:18 2015
@@ -1195,6 +1195,8 @@
   AC_MSG_RESULT(GNU)
   OBJCFLAGS="$OBJCFLAGS -fgnu-runtime"
   OBJC_WITH_GC=yes
+elif test "$OBJC_RUNTIME_LIB" = "ng"; then
+  AC_MSG_RESULT(Next Gen)
 else
   AC_MSG_RESULT(GNU)
   OBJCFLAGS="$OBJCFLAGS -fgnu-runtime"

Modified: tools/make/trunk/library-combo.make
URL: 
http://svn.gna.org/viewcvs/gnustep/tools/make/trunk/library-combo.make?rev=38532&r1=38531&r2=38532&view=diff
==============================================================================
--- tools/make/trunk/library-combo.make (original)
+++ tools/make/trunk/library-combo.make Sun May 24 21:32:18 2015
@@ -47,6 +47,10 @@
   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
@@ -98,6 +102,14 @@
   OBJC_LIBS = $(OBJC_LIB_FLAG)
   RUNTIME_FLAG   = -fgnu-runtime
   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)


_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs

Reply via email to