diff options
-rwxr-xr-x | debian/rules | 5 |
1 files changed, 4 insertions, 1 deletions
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)) |