summaryrefslogtreecommitdiffstats
path: root/lib/Makefile
diff options
context:
space:
mode:
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