summaryrefslogtreecommitdiff
path: root/debian/rules2
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules2')
-rw-r--r--debian/rules211
1 files changed, 10 insertions, 1 deletions
diff --git a/debian/rules2 b/debian/rules2
index 7481d73..007948e 100644
--- a/debian/rules2
+++ b/debian/rules2
@@ -225,6 +225,15 @@ else
--enable-shared \
--enable-linker-build-id \
+ ifeq (illumos,$(DEB_TARGET_ARCH_OS))
+ CONFARGS += \
+ --enable-tls \
+ --enable-threads=posix \
+ --enable-libmudflap \
+ --with-gnu-as \
+ --with-gnu-ld
+ endif
+
ifneq ($(single_package),yes)
CONFARGS += \
--libexecdir=/$(libexecdir) \
@@ -539,7 +548,7 @@ ifeq ($(DEB_TARGET_ARCH_OS),linux)
endif
endif
-ifneq (,$(filter $(DEB_TARGET_ARCH), amd64 i386 kfreebsd-i386 kfreebsd-amd64))
+ifneq (,$(filter $(DEB_TARGET_ARCH), amd64 i386 kfreebsd-i386 kfreebsd-amd64 illumos-amd64))
ifneq (,$(filter $(derivative),Ubuntu))
ifneq (,$(filter $(distrelease),dapper hardy))
CONFARGS += --with-arch-32=i486