summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2018-07-09 14:40:30 +0300
committerDan McDonald <danmcd@joyent.com>2018-11-15 17:30:09 -0500
commit50a7e957ddabb06ba5d141a0642036371031110d (patch)
tree3f3dbb361ca2113c393b800d2da245b69f4ce1a4 /usr/src
parent12d65476afc93e61685ea633c371bdbada4e2300 (diff)
downloadillumos-gate-50a7e957ddabb06ba5d141a0642036371031110d.tar.gz
9976 boot1.efi: unused functions in zfs_module.c
Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/boot/sys/boot/efi/boot1/Makefile.com3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/src/boot/sys/boot/efi/boot1/Makefile.com b/usr/src/boot/sys/boot/efi/boot1/Makefile.com
index 90a0ad00a5..f3c72005e9 100644
--- a/usr/src/boot/sys/boot/efi/boot1/Makefile.com
+++ b/usr/src/boot/sys/boot/efi/boot1/Makefile.com
@@ -31,6 +31,9 @@ OBJS= multiboot.o boot1.o self_reloc.o start.o ufs_module.o zfs_module.o \
CFLAGS= -O2
CPPFLAGS= -nostdinc -D_STANDALONE
+
+zfs_module.o := CFLAGS += -Wno-unused-function
+
CPPFLAGS += -I.
CPPFLAGS += -I../../include
CPPFLAGS += -I../../include/$(MACHINE)