svn commit: r322933 - head/sys/boot/efi/boot1

Warner Losh imp at FreeBSD.org
Sat Aug 26 18:29:50 UTC 2017


Author: imp
Date: Sat Aug 26 18:29:48 2017
New Revision: 322933
URL: https://svnweb.freebsd.org/changeset/base/322933

Log:
  No need for MK_ZFS around these: they are by their nature only active
  when MK_ZFS is true.
  
  Sponsored by: Netflix

Modified:
  head/sys/boot/efi/boot1/Makefile

Modified: head/sys/boot/efi/boot1/Makefile
==============================================================================
--- head/sys/boot/efi/boot1/Makefile	Sat Aug 26 18:29:43 2017	(r322932)
+++ head/sys/boot/efi/boot1/Makefile	Sat Aug 26 18:29:48 2017	(r322933)
@@ -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
@@ -24,7 +23,6 @@ CWARNFLAGS.skein.c += -Wno-cast-align
 CWARNFLAGS.skein.c += -Wno-missing-variable-declarations
 .else if ${COMPILER_TYPE} == "gcc"
 CWARNFLAGS.skein.c += -Wno-missing-declarations
-.endif
 .endif
 
 # architecture-specific loader code


More information about the svn-src-all mailing list