diff options
Diffstat (limited to 'usr/src/cmd/mdb/intel')
-rw-r--r-- | usr/src/cmd/mdb/intel/amd64/genunix/Makefile | 6 | ||||
-rw-r--r-- | usr/src/cmd/mdb/intel/ia32/genunix/Makefile | 6 | ||||
-rw-r--r-- | usr/src/cmd/mdb/intel/ia32/libpython2.6/Makefile | 2 |
3 files changed, 11 insertions, 3 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 diff --git a/usr/src/cmd/mdb/intel/ia32/genunix/Makefile b/usr/src/cmd/mdb/intel/ia32/genunix/Makefile index e5efcd19ac..354dc8e6b2 100644 --- a/usr/src/cmd/mdb/intel/ia32/genunix/Makefile +++ b/usr/src/cmd/mdb/intel/ia32/genunix/Makefile @@ -22,6 +22,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 @@ -47,7 +49,7 @@ include ../../../../Makefile.cmd include ../../Makefile.ia32 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 @@ -69,3 +71,5 @@ CERRWARN += -_gcc=-Wno-unused-label CERRWARN += -_gcc=-Wno-uninitialized CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-type-limits + +LINTFLAGS += -erroff=E_EMPTY_TRANSLATION_UNIT diff --git a/usr/src/cmd/mdb/intel/ia32/libpython2.6/Makefile b/usr/src/cmd/mdb/intel/ia32/libpython2.6/Makefile index ab57dbd02a..1928c56cd3 100644 --- a/usr/src/cmd/mdb/intel/ia32/libpython2.6/Makefile +++ b/usr/src/cmd/mdb/intel/ia32/libpython2.6/Makefile @@ -34,7 +34,7 @@ include ../../../../Makefile.cmd include ../../Makefile.ia32 include ../../../Makefile.module -$(__GNUC)CPPFLAGS += -isystem $(ADJUNCT_PROTO)/usr/include +%.o := CPPFLAGS += -_gcc=-isystem -_gcc=$(ADJUNCT_PROTO)/usr/include dmod/$(MODULE) := LDLIBS += -lproc |