diff options
author | Brad King <brad.king@kitware.com> | 2024-10-25 12:12:54 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2024-10-25 12:13:02 (GMT) |
commit | 8e99e70297cc0bc70fa6415ccafcbda899067bab (patch) | |
tree | bb9fb5d5e8ff63cba1659ef2c63e1fa00aadf1fe | |
parent | 81f49865f2445dacf7f32a1ea82ae9341336f578 (diff) | |
parent | 686698a7b476cc1da1aa19f016054462638cd7ed (diff) | |
download | CMake-8e99e70297cc0bc70fa6415ccafcbda899067bab.zip CMake-8e99e70297cc0bc70fa6415ccafcbda899067bab.tar.gz CMake-8e99e70297cc0bc70fa6415ccafcbda899067bab.tar.bz2 |
Merge topic 'Help-CMAKE_LINK_DEPENDS_USE_LINKER' into release-3.31
686698a7b4 Help: Update note relative the GNU binutils linkers
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9938
-rw-r--r-- | Help/variable/CMAKE_LINK_DEPENDS_USE_LINKER.rst | 5 |
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 |