Merge topic 'Help-CMAKE_LINK_DEPENDS_USE_LINKER'

686698a7b4 Help: Update note relative the GNU binutils linkers

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9938
This commit is contained in:
Brad King
2024-10-25 12:12:54 +00:00
committed by Kitware Robot
@@ -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