summaryrefslogtreecommitdiff
path: root/usr/src/cmd/mdb/Makefile.module
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/mdb/Makefile.module')
-rw-r--r--usr/src/cmd/mdb/Makefile.module12
1 files changed, 3 insertions, 9 deletions
diff --git a/usr/src/cmd/mdb/Makefile.module b/usr/src/cmd/mdb/Makefile.module
index 91cc124e9c..48603894b2 100644
--- a/usr/src/cmd/mdb/Makefile.module
+++ b/usr/src/cmd/mdb/Makefile.module
@@ -96,15 +96,9 @@ ROOTTGTS = $(ROOTTGTS_$(MDBTGT))
# building with an LFS python, we attempt to use -isystem when it's
# available.
#
-PYCPPFLAGS = -_gcc=-isystem -_gcc=$(ADJUNCT_PROTO)/usr/include/python$(PYTHON_VERSION)
-PYCPPFLAGS += -_cc=-I$(ADJUNCT_PROTO)/usr/include/python$(PYTHON_VERSION)
-PYLNFLAGS = -I$(ADJUNCT_PROTO)/usr/include/python$(PYTHON_VERSION)
-
-#
-# At this time, we do not have python27 in the adjunct proto area, only
-# python26. As such, we explicitly override the python version dmod here.
-#
-PYTHON_VERSION = 2.6
+PYCPPFLAGS = -_gcc=-isystem -_gcc=$(ADJUNCT_PROTO)/usr/include/python$(PYTHON3_VERSION)$(PYTHON3_SUFFIX)
+PYCPPFLAGS += -_cc=-I$(ADJUNCT_PROTO)/usr/include/python$(PYTHON3_VERSION)$(PYTHON3_SUFFIX)
+PYLNFLAGS = -I$(ADJUNCT_PROTO)/usr/include/python$(PYTHON3_VERSION)$(PYTHON3_SUFFIX)
kvm_TGTFLAGS = -D_KERNEL
proc_TGTFLAGS = -D_USER