/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to debian/rules

* Makefile: Don't use PIE if BROKEN_PIE is set.
* debian/rules: Set BROKEN_PIE on mips and mipsel architectures.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
# This has to be exported to make some magic below work.
16
16
export DH_OPTIONS
17
17
 
 
18
ifneq (,$(findstring :$(DEB_HOST_ARCH):,:mips:mipsel:))
 
19
  BROKEN_PIE := yes
 
20
  export BROKEN_PIE
 
21
endif
 
22
ifneq (,$(findstring :$(DEB_BUILD_ARCH):,:mips:mipsel:))
 
23
  BROKEN_PIE := yes
 
24
  export BROKEN_PIE
 
25
endif
 
26
 
18
27
configure: configure-stamp
19
28
configure-stamp:
20
29
        dh_testdir
47
56
        dh_installdirs --indep
48
57
        $(MAKE) DESTDIR=$(CURDIR)/debian/mandos install-server
49
58
        dh_lintian
50
 
        dh_installinit --onlyscripts --no-start \
 
59
        dh_installinit --onlyscripts \
51
60
                --update-rcd-params="defaults 25 15"
52
61
        dh_install --indep
53
62