summaryrefslogtreecommitdiffstats
path: root/tags/d/debian-rules-uses-as-needed-linker-flag.tag
diff options
context:
space:
mode:
Diffstat (limited to 'tags/d/debian-rules-uses-as-needed-linker-flag.tag')
-rw-r--r--tags/d/debian-rules-uses-as-needed-linker-flag.tag15
1 files changed, 15 insertions, 0 deletions
diff --git a/tags/d/debian-rules-uses-as-needed-linker-flag.tag b/tags/d/debian-rules-uses-as-needed-linker-flag.tag
new file mode 100644
index 0000000..f40e73d
--- /dev/null
+++ b/tags/d/debian-rules-uses-as-needed-linker-flag.tag
@@ -0,0 +1,15 @@
+Tag: debian-rules-uses-as-needed-linker-flag
+Severity: pedantic
+Experimental: yes
+Check: debian/rules
+Explanation: The <code>debian/rules</code> file for this package uses the
+ <code>-Wl,--as-needed</code> linker flag.
+ .
+ The bullseye toolchain defaults to linking with <code>--as-needed</code> and
+ therefore it should no longer be necessary to inject this into the
+ build process.
+ .
+ However, it is not safe to make this change if the package will target
+ the buster distribution such as via backports to the buster-bpo /
+ stable-bpo distribution or, during the bookworm cycle itself, the
+ oldstable-bpo distribution.