summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2012-10-20 18:49:14 +0400
committerIgor Pashev <pashev.igor@gmail.com>2012-10-20 18:49:14 +0400
commitb4b789bb5b53dcbc7850e5e85bf430d598a0ec08 (patch)
treef44411ec9a0044c0e855b24b84d056c015711fa2
parentced440abfc3313734c9a49ae20d29a0b08cd5a1c (diff)
downloaddwarfutils-master.tar.gz
ELF_TARGET_ALL=1 required on illumos (oops)HEADdyson/20120410-2+dyson4master
-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