summaryrefslogtreecommitdiffstats
path: root/usr.sbin/kldxref
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/kldxref')
-rw-r--r--usr.sbin/kldxref/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.sbin/kldxref/Makefile b/usr.sbin/kldxref/Makefile
index 33337fd..3c2be2f 100644
--- a/usr.sbin/kldxref/Makefile
+++ b/usr.sbin/kldxref/Makefile
@@ -6,6 +6,10 @@ SRCS= kldxref.c ef.c ef_obj.c
WARNS?= 2
+.if ${MACHINE_ARCH} == powerpc
+LDFLAGS+=-static
+.endif
+
.if exists(ef_${MACHINE_ARCH}.c)
SRCS+= ef_${MACHINE_ARCH}.c
.else
OpenPOWER on IntegriCloud