Declare dh_install overrides as -arch

Guard arch-dependent dh_install commands appropriately, fixing
arch-indep-only builds.  (Closes: #809124)
This commit is contained in:
Angus Lees 2016-01-26 05:40:38 +11:00
parent c2a1d9e328
commit cf9ecddee2
2 changed files with 4 additions and 2 deletions

4
debian/changelog vendored
View File

@ -5,8 +5,10 @@ rustc (1.6.0+dfsg1-2) unstable; UNRELEASED
to remove the string "-Werror". (Closes: #812448)
* Disable new gcc-6 "-Wmisleading-indentation" warning, which triggers
(incorrectly) on src/rt/miniz.c. (Closes: #811573)
* Guard arch-dependent dh_install commands appropriately, fixing
arch-indep-only builds. (Closes: #809124)
-- Angus Lees <gus@debian.org> Tue, 26 Jan 2016 04:01:56 +1100
-- Angus Lees <gus@debian.org> Tue, 26 Jan 2016 05:40:14 +1100
rustc (1.6.0+dfsg1-1) unstable; urgency=medium

2
debian/rules vendored
View File

@ -118,7 +118,7 @@ ifneq (,$(BUILD_DOCS))
find $(DEB_DESTDIR) \( -iname '*.html' -empty -o -name .lock -o -name '*.inc' \) -delete
endif
override_dh_install:
override_dh_install-arch:
dh_install
dh_install -p$(LIBSTD_PKG) usr/lib/$(DEB_HOST_MULTIARCH)/