summaryrefslogtreecommitdiffstats
path: root/tags/d/debian-rules-should-not-set-CFLAGS-from-noopt.tag
diff options
context:
space:
mode:
Diffstat (limited to 'tags/d/debian-rules-should-not-set-CFLAGS-from-noopt.tag')
-rw-r--r--tags/d/debian-rules-should-not-set-CFLAGS-from-noopt.tag9
1 files changed, 9 insertions, 0 deletions
diff --git a/tags/d/debian-rules-should-not-set-CFLAGS-from-noopt.tag b/tags/d/debian-rules-should-not-set-CFLAGS-from-noopt.tag
new file mode 100644
index 0000000..390cc70
--- /dev/null
+++ b/tags/d/debian-rules-should-not-set-CFLAGS-from-noopt.tag
@@ -0,0 +1,9 @@
+Tag: debian-rules-should-not-set-CFLAGS-from-noopt
+Severity: warning
+Check: debian/rules
+See-Also: dpkg-buildflags(1)
+Explanation: The <code>debian/rules</code> file for this package appears to set
+ <code>CFLAGS</code> if the value of <code>DEB&lowbar;BUILD&lowbar;OPTIONS</code> contains
+ <code>noopt</code>.
+ .
+ This has been obsoleted in favour of <code>dpkg-buildflags</code>.