summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/kernel.m45
1 files changed, 3 insertions, 2 deletions
diff --git a/config/kernel.m4 b/config/kernel.m4
index 78d3a90a7..9a36302c0 100644
--- a/config/kernel.m4
+++ b/config/kernel.m4
@@ -529,10 +529,11 @@ AC_DEFUN([ZFS_AC_KERNEL_CONFIG_TRIM_UNUSED_KSYMS], [
AC_MSG_RESULT([yes])
],[
AC_MSG_RESULT([no])
- AC_MSG_ERROR([
+ AS_IF([test "x$enable_linux_builtin" != xyes], [
+ AC_MSG_ERROR([
*** This kernel has unused symbols trimming enabled, please disable.
*** Rebuild the kernel with CONFIG_TRIM_UNUSED_KSYMS=n set.])
- ])
+ ])])
])
dnl #