~ubuntu-branches/ubuntu/wily/libcap-ng/wily-proposed

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Pierre Chifflier
  • Date: 2009-10-26 23:34:37 UTC
  • mfrom: (4.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20091026233437-w3xq4wg63xbjuuow
Tags: 0.6.2-3
* Apply patch from Simon McVittie:
* Use host rather than build to detect armel (for correct
  cross-compilation), use the Debian architecture rather than the GNU
  triplet, and reference Bug #552224 to explain why the workaround is there

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
PYDEF=$(shell pyversions -d)
24
24
PYVERS=$(shell pyversions -r)
25
25
 
26
 
 
 
26
# work around Bug #552224 (armel compiler breaks __thread if optimizing)
 
27
ifeq ($(shell dpkg-architecture -qDEB_HOST_ARCH),armel)
 
28
CFLAGS += -O0
 
29
endif
27
30
 
28
31
# shared library versions, option 1
29
32
version=2.0.5