Tag: debian-rules-sets-dpkg-architecture-variable
Severity: warning
Check: debian/rules
See-Also: dpkg-architecture(1)
Explanation: The debian/rules
file sets one or more
dpkg-architecture
variables such as DEB_BUILD_ARCH
.
.
These variables are pre-initialized in the environment when running under
dpkg-buildpackage
- avoiding these assignments can reduce package
build time.
.
Please use:
.
include /usr/share/dpkg/architecture.mk
.
instead, or replace the assignment operator with ?=
.