aboutsummaryrefslogtreecommitdiff
path: root/gnu/lib/libobjc
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2010-09-21 21:41:45 +0000
committerDimitry Andric <dim@FreeBSD.org>2010-09-21 21:41:45 +0000
commitd20525351505edbd0bb87faaa101dd42f512ed90 (patch)
treee2e944fa953c22961e1dbb57fdc7b716b3c031f3 /gnu/lib/libobjc
parentbed6f1849357adb2dafe592e2ec97dd683819d19 (diff)
Notes
Diffstat (limited to 'gnu/lib/libobjc')
-rw-r--r--gnu/lib/libobjc/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/gnu/lib/libobjc/Makefile b/gnu/lib/libobjc/Makefile
index 3513103f2d7c..80d0240356e2 100644
--- a/gnu/lib/libobjc/Makefile
+++ b/gnu/lib/libobjc/Makefile
@@ -16,9 +16,7 @@ SRCS= archive.c class.c encoding.c gc.c hash.c init.c linking.m misc.c \
selector.c sendmsg.c thr.c thr-objc.c exception.c
# XXX: clang cannot compile libobjc yet
-.if ${CC:T:Mclang} == "clang"
-CC=gcc
-.endif
+CC:=${CC:C/^(.*\/)?clang$/gcc/1}
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