svn commit: r210385 - head/gnu/lib/libobjc

Rui Paulo rpaulo at FreeBSD.org
Thu Jul 22 18:49:27 UTC 2010


Author: rpaulo
Date: Thu Jul 22 18:49:27 2010
New Revision: 210385
URL: http://svn.freebsd.org/changeset/base/210385

Log:
  Disable building libobjc with clang as it's not yet supported.
  
  Submitted by:	Dimitry Andric <dimitry at andric.com>

Modified:
  head/gnu/lib/libobjc/Makefile

Modified: head/gnu/lib/libobjc/Makefile
==============================================================================
--- head/gnu/lib/libobjc/Makefile	Thu Jul 22 18:47:41 2010	(r210384)
+++ head/gnu/lib/libobjc/Makefile	Thu Jul 22 18:49:27 2010	(r210385)
@@ -13,6 +13,9 @@ SRCS=	archive.c class.c encoding.c gc.c 
 	nil_method.c NXConstStr.m Object.m objects.c Protocol.m sarray.c \
 	selector.c sendmsg.c thr.c thr-objc.c exception.c
 
+# XXX: clang cannot compile libobjc yet
+CC:=${CC:C/^cc|^clang/gcc/}
+
 INCS=	encoding.h hash.h objc-api.h objc-decls.h objc-list.h objc.h runtime.h \
 	sarray.h thr.h typedstream.h NXConstStr.h Object.h Protocol.h
 INCSDIR=${INCLUDEDIR}/objc


More information about the svn-src-all mailing list