X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=debian%2Frules;h=81659a45170c0006cb3d3e9acb77c579459f8dbf;hb=1e0a42d0979887fefcbb3918bd5cd5832afbecf0;hp=ca1225783a4a61882b8430c0eed03fac4b2a616c;hpb=1f66030ebaa071c30d0057864167256f662512f5;p=nfs-utils.git diff --git a/debian/rules b/debian/rules index ca12257..81659a4 100755 --- a/debian/rules +++ b/debian/rules @@ -2,12 +2,17 @@ include /usr/share/quilt/quilt.make +DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH) + # Temporary root DEBTMP := $(CURDIR)/debian/tmp build: patch build-stamp build-stamp: dh_testdir +ifeq ($(DEB_HOST_ARCH),arm) + patch -p0 -i debian/major.patch +endif CFLAGS="-g -O2 -Wall" ./configure \ --mandir='$${prefix}/share/man' \ --enable-secure-statd \