debian-rules-sets-dpkg-architecture-variable

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 ?=.

Severity: warning
Experimental: false

See also