~ubuntu-branches/ubuntu/trusty/ltrace/trusty-proposed

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Ben Collins
  • Date: 2008-07-02 11:10:41 UTC
  • Revision ID: james.westby@ubuntu.com-20080702111041-lut15e9yyxr5bzlw
Tags: 0.5-3.1ubuntu2
* Use libelf-dev instead of libelfg0-dev
* Define _LARGEFILE_SOURCE and _LARGEFILE64_SOURCE in debian/rules CFLAGS.
  The configure script has a bug where it can't properly cope with the need
  to define these before detecting the use of elfutils.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
2
 
 
3
# The configure logic for this is backwards. We need this before checking
 
4
# for elfutils (ELF_C_READ_MMAP)
 
5
CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
 
6
 
3
7
include /usr/share/cdbs/1/rules/debhelper.mk
4
8
include /usr/share/cdbs/1/class/autotools.mk
5
9