diff options
Diffstat (limited to '')
-rw-r--r-- | tags/d/debian-rules-sets-dpkg-architecture-variable.tag | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tags/d/debian-rules-sets-dpkg-architecture-variable.tag b/tags/d/debian-rules-sets-dpkg-architecture-variable.tag new file mode 100644 index 0000000..b95718a --- /dev/null +++ b/tags/d/debian-rules-sets-dpkg-architecture-variable.tag @@ -0,0 +1,16 @@ +Tag: debian-rules-sets-dpkg-architecture-variable +Severity: warning +Check: debian/rules +See-Also: dpkg-architecture(1) +Explanation: The <code>debian/rules</code> file sets one or more + <code>dpkg-architecture</code> variables such as <code>DEB_BUILD_ARCH</code>. + . + These variables are pre-initialized in the environment when running under + <code>dpkg-buildpackage</code> - avoiding these assignments can reduce package + build time. + . + Please use: + . + include /usr/share/dpkg/architecture.mk + . + instead, or replace the assignment operator with <code>?=</code>. |