summaryrefslogtreecommitdiff
path: root/debian/patches/gcc-fuse-ld-lld-doc.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/gcc-fuse-ld-lld-doc.diff')
-rw-r--r--debian/patches/gcc-fuse-ld-lld-doc.diff17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/patches/gcc-fuse-ld-lld-doc.diff b/debian/patches/gcc-fuse-ld-lld-doc.diff
new file mode 100644
index 0000000..6483281
--- /dev/null
+++ b/debian/patches/gcc-fuse-ld-lld-doc.diff
@@ -0,0 +1,17 @@
+# DP: Allow to use lld with -fuse-ld=ld.lld (documentation)
+
+Index: gcc/doc/invoke.texi
+===================================================================
+--- a/src/gcc/doc/invoke.texi (revision 246158)
++++ a/src/gcc/doc/invoke.texi (working copy)
+@@ -10501,6 +10501,10 @@
+ @opindex fuse-ld=gold
+ Use the @command{gold} linker instead of the default linker.
+
++@item -fuse-ld=lld
++@opindex fuse-ld=lld
++Use the LLVM @command{lld} linker instead of the default linker.
++
+ @cindex Libraries
+ @item -l@var{library}
+ @itemx -l @var{library}