aboutsummaryrefslogtreecommitdiff
path: root/sbin/zfsbootcfg
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2024-02-12 18:44:22 +0000
committerWarner Losh <imp@FreeBSD.org>2024-02-12 18:44:22 +0000
commit9622dc05ae11b145f1602fd0bb1fd6509c074b00 (patch)
tree4423804f54e08ff0a4e0eb0d271145c7abb9368d /sbin/zfsbootcfg
parent851a9da38f070675c42a6d69c41c47a5d29ee3d0 (diff)
downloadsrc-9622dc05ae11b145f1602fd0bb1fd6509c074b00.tar.gz
src-9622dc05ae11b145f1602fd0bb1fd6509c074b00.zip
zfsbootcfg: Remove bogus CFLAGS
When using the zfsbootcfg library, we're talking only to it, not to the rest of ZFS, nor are we using anything that needs access to the ZFS compilation environment. Remove all the compiling OpenZFS itself flags. Sponsored by: Netflix Reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D43823
Diffstat (limited to 'sbin/zfsbootcfg')
-rw-r--r--sbin/zfsbootcfg/Makefile13
1 files changed, 0 insertions, 13 deletions
diff --git a/sbin/zfsbootcfg/Makefile b/sbin/zfsbootcfg/Makefile
index 3d5589dcee48..1833fc542ce0 100644
--- a/sbin/zfsbootcfg/Makefile
+++ b/sbin/zfsbootcfg/Makefile
@@ -1,19 +1,6 @@
-
PROG= zfsbootcfg
MAN= zfsbootcfg.8
LIBADD+=zfsbootenv
-CFLAGS+= -DIN_BASE
-CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include
-CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include/os/freebsd
-CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include
-CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/os/freebsd
-CFLAGS+= -I${SRCTOP}/sys
-CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/include
-CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/module/icp/include
-CFLAGS+= -include ${SRCTOP}/sys/contrib/openzfs/include/os/freebsd/spl/sys/ccompile.h
-CFLAGS+= -DHAVE_ISSETUGID
-CFLAGS+= -include ${SRCTOP}/sys/modules/zfs/zfs_config.h
-
.include <bsd.prog.mk>