aboutsummaryrefslogtreecommitdiff
path: root/sysutils/openzfs-kmod/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/openzfs-kmod/Makefile')
-rw-r--r--sysutils/openzfs-kmod/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/sysutils/openzfs-kmod/Makefile b/sysutils/openzfs-kmod/Makefile
index efe70503f18a..6377620d21f1 100644
--- a/sysutils/openzfs-kmod/Makefile
+++ b/sysutils/openzfs-kmod/Makefile
@@ -21,6 +21,7 @@ KMODTARGET?= openzfs.ko
PLIST_FILES= ${KMODDIR}/${KMODTARGET}
OPTIONS_DEFINE= DEBUG INVARIANTS GCOV
+OPTIONS_DEFAULT= DEBUG INVARIANTS
OPTIONS_SUB= yes
GCOV_DESC= Build kernel module with GCOV support (Requires gcc)
@@ -30,10 +31,6 @@ INVARIANTS_IMPLIES= DEBUG
.include <bsd.port.options.mk>
-.if ${OSVERSION} >= 1300000
-OPTIONS_DEFAULT= DEBUG INVARIANTS
-.endif
-
MAKE_OPTS+= SYSDIR=${SRC_BASE}/sys
.if ${PORT_OPTIONS:MDEBUG}