diff options
author | rdivacky <rdivacky@FreeBSD.org> | 2010-06-09 19:57:20 +0000 |
---|---|---|
committer | rdivacky <rdivacky@FreeBSD.org> | 2010-06-09 19:57:20 +0000 |
commit | 392f4db2aa7356094da2fd7ecb7a879068b531dc (patch) | |
tree | af80d689607c24dc146d7ce544edeeb05e7e55c1 /lib/Makefile | |
parent | b45271f609e8549582d20aeb42901fd1bb0de186 (diff) | |
download | FreeBSD-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/Makefile | 7 |
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 |