fstyp(8): define HAVE_ZFS macro when built with zfs
The HAVE_ZFS macro was dropped from the Makefile during the OpenZFS
merge, bring it back.
While here, drop unused WARNS setting.
PR: 255616
Reported by: Michael Büker <freebsd@michael-bueker.de>
Submitted by: Michael Büker <freebsd@michael-bueker.de>
Fixes: 9e5787d228
Reviewed by: markj
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D30221
This commit is contained in:
parent
cf653b7abe
commit
91f251b2ab
@ -28,7 +28,7 @@ SUBDIR.${MK_TESTS}+= tests
|
||||
.if ${MK_ZFS} != "no"
|
||||
IGNORE_PRAGMA= YES
|
||||
|
||||
WARNS?= 0
|
||||
CFLAGS+= -DHAVE_ZFS
|
||||
CFLAGS.zfs.c+= -DIN_BASE
|
||||
CFLAGS.zfs.c+= -I${SRCTOP}/sys/contrib/openzfs/include
|
||||
CFLAGS.zfs.c+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include
|
||||
|
Loading…
Reference in New Issue
Block a user