From 392f4db2aa7356094da2fd7ecb7a879068b531dc Mon Sep 17 00:00:00 2001 From: rdivacky Date: Wed, 9 Jun 2010 19:57:20 +0000 Subject: Hook clang into the build on i386/amd64/powerpc. Approved by: ed (mentor) --- lib/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'lib/Makefile') 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 -- cgit v1.1