summaryrefslogtreecommitdiffstats
path: root/sys/boot/i386/zfsboot/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/boot/i386/zfsboot/Makefile')
-rw-r--r--sys/boot/i386/zfsboot/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/boot/i386/zfsboot/Makefile b/sys/boot/i386/zfsboot/Makefile
index 65df86f..8caff27 100644
--- a/sys/boot/i386/zfsboot/Makefile
+++ b/sys/boot/i386/zfsboot/Makefile
@@ -86,6 +86,9 @@ zfsboot.out: ${BTXCRT} zfsboot.o sio.o drv.o cons.o util.o
${LD} ${LDFLAGS} -Ttext ${ORG2} -o ${.TARGET} ${.ALLSRC} ${LIBSTAND}
zfsboot.o: zfsboot.s
+.if ${CC:T:Mclang} == "clang"
+ ${CC} ${ACFLAGS} -c zfsboot.s
+.endif
SRCS= zfsboot.c
OpenPOWER on IntegriCloud