/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
38
47
        rm -f build-arch-stamp build-indep-stamp configure-stamp
39
48
        dh_auto_clean
40
49
        dh_clean
41
 
        debconf-updatepo
42
50
 
43
51
install: install-indep install-arch
44
52
install-indep:
48
56
        dh_installdirs --indep
49
57
        $(MAKE) DESTDIR=$(CURDIR)/debian/mandos install-server
50
58
        dh_lintian
51
 
        dh_installinit --onlyscripts --no-start \
 
59
        dh_installinit --onlyscripts \
52
60
                --update-rcd-params="defaults 25 15"
53
61
        dh_install --indep
54
62
 
66
74
        dh_testroot
67
75
        dh_installchangelogs
68
76
        dh_installdocs
69
 
        dh_installdebconf
70
77
        dh_link
71
78
        dh_strip
72
79
        dh_compress