summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog5
-rwxr-xr-xdebian/rules4
2 files changed, 5 insertions, 4 deletions
diff --git a/debian/changelog b/debian/changelog
index f034404..29b57dd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,9 @@
-dwarfutils (20120410-2+dyson4) UNRELEASED; urgency=low
+dwarfutils (20120410-2+dyson4) unstable; urgency=low
* Added debian/libdwarf0.symbols
+ * ELF_TARGET_ALL=1 required on illumos
- -- Igor Pashev <pashev.igor@gmail.com> Sat, 20 Oct 2012 17:02:52 +0400
+ -- Igor Pashev <pashev.igor@gmail.com> Sat, 20 Oct 2012 18:39:12 +0400
dwarfutils (20120410-2+dyson3) unstable; urgency=low
diff --git a/debian/rules b/debian/rules
index 4ea6435..e36a32e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,10 +18,10 @@ override_dh_autoreconf:
override_dh_auto_build:
# configure and build shared library
- cd libdwarf && ./configure --enable-shared --disable-nonshared
+ cd libdwarf && ./configure --enable-shared --disable-nonshared CFLAGS="$(CFLAGS) -DELF_TARGET_ALL=1"
cd libdwarf && make $(shared) && cp $(shared) ../ && make distclean
# configure and build library
- cd libdwarf; ./configure --prefix=$(CURDIR)/debian/libdwarf-dev
+ cd libdwarf; ./configure --prefix=$(CURDIR)/debian/libdwarf-dev CFLAGS="$(CFLAGS) -DELF_TARGET_ALL=1"
cd libdwarf; make
# We will link to shared library:
ln -sf ../$(shared) libdwarf/libdwarf.so