summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2019-12-01 21:01:33 +0300
committerIgor Pashev <pashev.igor@gmail.com>2019-12-01 21:04:33 +0300
commit11cf33370d00f20171f5889626a442b89ecfadb2 (patch)
treea8debbaaaf2a0c8ba66cd4f76dedd5a88de6c74c /debian
parent3cdc0437133449e467ccc8e3d78fcb34ac8c5985 (diff)
downloadpython3.8-11cf33370d00f20171f5889626a442b89ecfadb2.tar.gz
Disable dtrace on Dyson (illegal instruction in machine code)
Diffstat (limited to 'debian')
-rw-r--r--debian/control.in2
-rwxr-xr-xdebian/rules7
2 files changed, 7 insertions, 2 deletions
diff --git a/debian/control.in b/debian/control.in
index dd7ee1f..3fc5f3f 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -16,7 +16,7 @@ Build-Depends: debhelper (>= 9), @bd_dpkgdev@
libgpm2 [linux-any],
mime-support, netbase, bzip2, time, python3@bd_qual@, @PVER@@bd_qual@ <cross>,
net-tools, xvfb <!nocheck>, xauth <!nocheck>,
- systemtap-sdt-dev
+ systemtap-sdt-dev [!illumos-any]
Build-Depends-Indep: python3-sphinx, python3-docs-theme, texinfo
Standards-Version: 4.4.1
Vcs-Browser: https://salsa.debian.org/cpython-team/python3
diff --git a/debian/rules b/debian/rules
index 8647938..2eb30b8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -373,7 +373,12 @@ common_configure_args = \
--without-ensurepip \
--with-system-expat \
--with-system-libmpdec \
- --with-dtrace \
+
+ifeq (illumos-amd64,$(DEB_HOST_ARCH))
+common_configure_args += --without-dtrace
+else
+common_configure_args += --with-dtrace
+endif
ifneq (,$(filter $(DEB_HOST_ARCH), avr32 or1k))
common_configure_args += --without-ffi