summaryrefslogtreecommitdiff
path: root/usr/src/cmd/mdb/intel/amd64
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/mdb/intel/amd64')
-rw-r--r--usr/src/cmd/mdb/intel/amd64/genunix/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr/src/cmd/mdb/intel/amd64/genunix/Makefile b/usr/src/cmd/mdb/intel/amd64/genunix/Makefile
index fb372b267b..8a284bb2d0 100644
--- a/usr/src/cmd/mdb/intel/amd64/genunix/Makefile
+++ b/usr/src/cmd/mdb/intel/amd64/genunix/Makefile
@@ -24,6 +24,8 @@
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+# Copyright (c) 2013 by Delphix. All rights reserved.
+#
MODULE = genunix.so
MDBTGT = kvm
@@ -50,7 +52,7 @@ include ../../../../Makefile.cmd.64
include ../../Makefile.amd64
include ../../../Makefile.module
-dmod/$(MODULE) := LDLIBS += -lm
+dmod/$(MODULE) := LDLIBS += -lm -lproc
#
# We are not actually hardwiring some dependency on i86pc, we just need to
@@ -72,3 +74,5 @@ CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += -_gcc=-Wno-uninitialized
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-type-limits
+
+LINTFLAGS64 += -erroff=E_EMPTY_TRANSLATION_UNIT