From 1e95b6774bede1a92e71f77998b2b05ea66d60ca Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Mon, 25 Sep 2017 11:07:13 +0300 Subject: Disable hardenning on Dyson We don't support PIE yet --- debian/rules | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 31af258..8a1191f 100755 --- a/debian/rules +++ b/debian/rules @@ -43,7 +43,6 @@ FLAVORS = standard extra static # * --enable-opencl [!hurd-any]: This is considered an experimental API. CONFIG := --prefix=/usr \ --extra-version="$(DEB_REVISION)" \ - --toolchain=hardened \ --libdir=/usr/lib/$(DEB_HOST_MULTIARCH) \ --incdir=/usr/include/$(DEB_HOST_MULTIARCH) \ --enable-gpl \ @@ -178,6 +177,10 @@ ifneq (,$(filter $(DEB_HOST_ARCH),mips mipsel)) CONFIG += --disable-mipsfpu endif +ifeq (,$(filter $(DEB_HOST_ARCH),illumos-amd64)) + CONFIG += --toolchain=hardened +endif + # Set cross-build prefix for compiler, pkg-config... # Cross-building also requires to manually set architecture/OS. ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) -- cgit v1.2.3