From fcfec2f998b4301f24b14ee0bdc82f55c4953d60 Mon Sep 17 00:00:00 2001 From: Rui Paulo Date: Thu, 22 Jul 2010 18:49:27 +0000 Subject: [PATCH] Disable building libobjc with clang as it's not yet supported. Submitted by: Dimitry Andric --- gnu/lib/libobjc/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gnu/lib/libobjc/Makefile b/gnu/lib/libobjc/Makefile index cfa38f9f884..ddf9e5d2663 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