summaryrefslogtreecommitdiffstats
path: root/gnu/lib
diff options
context:
space:
mode:
authorrpaulo <rpaulo@FreeBSD.org>2010-07-22 18:49:27 +0000
committerrpaulo <rpaulo@FreeBSD.org>2010-07-22 18:49:27 +0000
commitd963dff9769e2e55d34583bc5811318b599bb465 (patch)
treecb6775ca0659aecad808049fb721953057643939 /gnu/lib
parentd484564cf91380c5652b2400eb03443e1650ec70 (diff)
downloadFreeBSD-src-d963dff9769e2e55d34583bc5811318b599bb465.zip
FreeBSD-src-d963dff9769e2e55d34583bc5811318b599bb465.tar.gz
Disable building libobjc with clang as it's not yet supported.
Submitted by: Dimitry Andric <dimitry at andric.com>
Diffstat (limited to 'gnu/lib')
-rw-r--r--gnu/lib/libobjc/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/lib/libobjc/Makefile b/gnu/lib/libobjc/Makefile
index cfa38f9..ddf9e5d 100644
--- a/gnu/lib/libobjc/Makefile
+++ b/gnu/lib/libobjc/Makefile
@@ -13,6 +13,9 @@ SRCS= archive.c class.c encoding.c gc.c hash.c init.c linking.m misc.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
OpenPOWER on IntegriCloud