Browse Source

Help: Update note relative the GNU binutils linkers

Marc Chevrier 1 year ago
parent
commit
686698a7b4
1 changed files with 3 additions and 2 deletions
  1. 3 2
      Help/variable/CMAKE_LINK_DEPENDS_USE_LINKER.rst

+ 3 - 2
Help/variable/CMAKE_LINK_DEPENDS_USE_LINKER.rst

@@ -13,8 +13,9 @@ target property is true.
 
 .. note::
 
-  CMake version |release| defaults this variable to ``FALSE`` because
-  GNU binutils linkers (``ld``, ``ld.bfd``, ``ld.gold``) generate spurious
+  CMake version |release| defaults this variable to ``FALSE`` if the linker is
+  one from the GNU binutils linkers (``ld`` and ``ld.bfd`` for version less
+  than 2.41 or ``ld.gold`` for any version) because it generate spurious
   dependencies on temporary files when LTO is enabled.  See `GNU bug 30568`_.
 
 .. _`GNU bug 30568`: https://sourceware.org/bugzilla/show_bug.cgi?id=30568