Rely on pre-initialized dpkg-architecture variables.
Fixes lintian: debian-rules-sets-dpkg-architecture-variable
See https://lintian.debian.org/tags/debian-rules-sets-dpkg-architecture-variable.html for more details.
Debian Janitor
4 years ago
5 | 5 |
|
6 | 6 |
[ Debian Janitor ]
|
7 | 7 |
* Remove obsolete field Name from debian/upstream/metadata.
|
|
8 |
* Rely on pre-initialized dpkg-architecture variables.
|
8 | 9 |
|
9 | 10 |
-- Bas Couwenberg <sebastic@debian.org> Sat, 04 Aug 2018 14:40:13 +0200
|
10 | 11 |
|
9 | 9 |
|
10 | 10 |
# These are used for cross-compiling and for saving the configure script
|
11 | 11 |
# from having to guess our platform (since we know it already)
|
12 | |
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
|
13 | |
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
|
|
12 |
include /usr/share/dpkg/architecture.mk
|
14 | 13 |
|
15 | |
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
|
16 | 14 |
|
17 | 15 |
# LFS support
|
18 | 16 |
ifeq ($(shell grep '^[[:space:]]*Linux Large File Support (LFS)' /usr/lib/*/hdf5/*/libhdf5.settings | sed 's/^[[:space:]]*Linux Large File Support (LFS):[[:space:]]*//'),yes)
|