No need for MK_ZFS around these: they are by their nature only active

when MK_ZFS is true.

Sponsored by: Netflix
This commit is contained in:
imp 2017-08-26 18:29:48 +00:00
parent dd35da02a7
commit 0f88ae724e

View File

@ -10,7 +10,6 @@ PROG= boot1.sym
INTERNALPROG=
WARNS?= 6
.if ${MK_ZFS} != "no"
# Disable warnings that are currently incompatible with the zfs boot code
CWARNFLAGS.zfs_module.c += -Wno-array-bounds
CWARNFLAGS.zfs_module.c += -Wno-cast-align
@ -25,7 +24,6 @@ CWARNFLAGS.skein.c += -Wno-missing-variable-declarations
.else if ${COMPILER_TYPE} == "gcc"
CWARNFLAGS.skein.c += -Wno-missing-declarations
.endif
.endif
# architecture-specific loader code
SRCS= boot1.c self_reloc.c start.S ufs_module.c