summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2024-10-24 14:59:34 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2024-10-24 15:02:15 (GMT)
commit686698a7b476cc1da1aa19f016054462638cd7ed (patch)
tree9b002c9f5664537500e7dcaf565cca1fbcc3a679
parent5b2351fb39f02a033ade4ab9fa2d2e9f3e58afbe (diff)
downloadCMake-686698a7b476cc1da1aa19f016054462638cd7ed.zip
CMake-686698a7b476cc1da1aa19f016054462638cd7ed.tar.gz
CMake-686698a7b476cc1da1aa19f016054462638cd7ed.tar.bz2
Help: Update note relative the GNU binutils linkers
-rw-r--r--Help/variable/CMAKE_LINK_DEPENDS_USE_LINKER.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/Help/variable/CMAKE_LINK_DEPENDS_USE_LINKER.rst b/Help/variable/CMAKE_LINK_DEPENDS_USE_LINKER.rst
index 1867ad8..1c07a23 100644
--- a/Help/variable/CMAKE_LINK_DEPENDS_USE_LINKER.rst
+++ b/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