summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
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