summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/Makefile')
-rw-r--r--gnu/usr.bin/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/gnu/usr.bin/Makefile b/gnu/usr.bin/Makefile
index a887a9b88cf..1cc0484052b 100644
--- a/gnu/usr.bin/Makefile
+++ b/gnu/usr.bin/Makefile
@@ -1,15 +1,17 @@
-# $OpenBSD: Makefile,v 1.56 2015/06/01 17:36:19 miod Exp $
+# $OpenBSD: Makefile,v 1.57 2017/01/29 03:48:08 jsg Exp $
# $NetBSD: Makefile,v 1.35 1996/04/03 21:20:52 chuck Exp $
.include <bsd.own.mk>
.if make(obj)
-SUBDIR+= cc gcc
+SUBDIR+= cc clang gcc
.else
. if ${COMPILER_VERSION:L} == "gcc3"
SUBDIR+= gcc
-. else
+. elif ${COMPILER_VERSION:L} == "gcc4"
SUBDIR+= cc
+. elif ${COMPILER_VERSION:L} == "clang"
+SUBDIR+= clang
. endif
.endif