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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to