summaryrefslogtreecommitdiffstats
path: root/lib/Makefile
diff options
context:
space:
mode:
authorrdivacky <rdivacky@FreeBSD.org>2010-06-09 19:57:20 +0000
committerrdivacky <rdivacky@FreeBSD.org>2010-06-09 19:57:20 +0000
commit392f4db2aa7356094da2fd7ecb7a879068b531dc (patch)
treeaf80d689607c24dc146d7ce544edeeb05e7e55c1 /lib/Makefile
parentb45271f609e8549582d20aeb42901fd1bb0de186 (diff)
downloadFreeBSD-src-392f4db2aa7356094da2fd7ecb7a879068b531dc.zip
FreeBSD-src-392f4db2aa7356094da2fd7ecb7a879068b531dc.tar.gz
Hook clang into the build on i386/amd64/powerpc.
Approved by: ed (mentor)
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/Makefile b/lib/Makefile
index f806290..7748b98 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -108,7 +108,8 @@ SUBDIR= ${SUBDIR_ORDERED} \
libwrap \
liby \
libz \
- ${_bind}
+ ${_bind} \
+ ${_clang}
.if exists(${.CURDIR}/csu/${MACHINE_ARCH}-elf)
_csu=csu/${MACHINE_ARCH}-elf
@@ -137,6 +138,10 @@ _libsdp= libsdp
_libbsnmp= libbsnmp
.endif
+.if ${MK_CLANG} != "no"
+_clang= clang
+.endif
+
.if ${MK_GPIB} != "no"
_libgpib= libgpib
.endif
OpenPOWER on IntegriCloud