Got it fixed in:
r323428 | tsoome | 2017-09-11 10:38:53 +0300 (E, 11 sept 2017) | 7 lines
r323389 breaks the kernel build when WITHOUT_ZFS is defined in src.conf
Need to add #ifdef EFI_ZFS_BOOT guard into efi/loader/main.c
PR: 15
Reported by:Sylvain Garrigues
sorry about
===> sys/boot/efi/loader (all)
cc -target x86_64-unknown-freebsd12.0 --
sysroot=/usr/obj/usr/src/tmp -B/usr/obj/usr/src/tmp/usr/bin -O2
-pipe -march=nehalem -
I/usr/src/sys/boot/efi/loader/../../../../lib/libstand -fPIC -
DTERM_EMU -I/usr/src/sys/boot/efi/loader -