summaryrefslogtreecommitdiff
path: root/debian/rules
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 /debian/rules
parentced440abfc3313734c9a49ae20d29a0b08cd5a1c (diff)
downloaddwarfutils-b4b789bb5b53dcbc7850e5e85bf430d598a0ec08.tar.gz
ELF_TARGET_ALL=1 required on illumos (oops)HEADdyson/20120410-2+dyson4master
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules4
1 files changed, 2 insertions, 2 deletions
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