From 047f9f545df088829e06065f934346b1c311e8e5 Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Fri, 13 Jul 2012 21:54:43 +0000 Subject: Do not set i386_AS_XARCH "aw" does not support it and sets --32 option by default --- debian/changelog | 7 +++++++ dh_illumos_gate | 3 +-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 2d83df8..a3fcb25 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +dh-illumos (6) unstable; urgency=low + + * Do not set i386_AS_XARCH: aw does not support it and sets + --32 option by default + + -- Igor Pashev Fri, 13 Jul 2012 21:53:51 +0000 + dh-illumos (5) unstable; urgency=low * Use /usr/lib32 for 32-bit libraries diff --git a/dh_illumos_gate b/dh_illumos_gate index 44d13a3..fec4dc7 100755 --- a/dh_illumos_gate +++ b/dh_illumos_gate @@ -155,7 +155,7 @@ Enable GCC and GCC4 mode by defining C<__GNUC> and C<__GNUC4>. Change GCC root to F, so the default system compiler is used. -Define C and C since illumos sources +Define C since illumos sources expect default compiler to generate 32-bit code. Set library directories to be F>, @@ -196,7 +196,6 @@ if (open (ENV, '>', $env)) { print ENV "export __GNUC4=''\n"; print ENV "export GCC_ROOT='/usr'\n"; print ENV "export i386_XARCH='-m32'\n"; - print ENV "export i386_AS_XARCH='-xarch=i386'\n"; print ENV "export ROOTFS_LIBDIR=\"\$ROOT/usr/lib32\"\n"; print ENV "export ROOTFS_LIBDIR64=\"\$ROOT/lib/$multiarch64\"\n"; print ENV "export ROOTLIBDIR=\"\$ROOT/usr/lib32\"\n"; -- cgit v1.2.3