From b4b789bb5b53dcbc7850e5e85bf430d598a0ec08 Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Sat, 20 Oct 2012 18:49:14 +0400 Subject: ELF_TARGET_ALL=1 required on illumos (oops) --- debian/changelog | 5 +++-- debian/rules | 4 ++-- 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 Sat, 20 Oct 2012 17:02:52 +0400 + -- Igor Pashev 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 -- cgit v1.2.3