aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/modules/Makefile')
-rw-r--r--sys/modules/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index b7993d11c5db..f7ae66123eb7 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -271,7 +271,7 @@ SUBDIR=${MODULES_OVERRIDE}
.endif
# Calling kldxref(8) for each module is expensive.
-.if !defined(NO_XREF)
+.if !defined(NO_XREF) && ${MACHINE_ARCH} != "sparc64"
.MAKEFLAGS:= ${.MAKEFLAGS} -DNO_XREF
afterinstall:
@if type kldxref >/dev/null 2>&1; then \