summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-06-26 13:43:40 (GMT)
committerKitware Robot <kwrobot@kitware.com>2023-06-26 13:43:56 (GMT)
commit7af90b7bf7037b9cdad42a59c74c5d70e29045e1 (patch)
treeeb35ab9af04d0232bcf0b7e992ac036f1a6c85a7 /Help
parent4e189e60f844671cd2cf1034ee5d06393291be71 (diff)
parent5945a98ced2e1f4794f26f39256c95d875220408 (diff)
downloadCMake-7af90b7bf7037b9cdad42a59c74c5d70e29045e1.zip
CMake-7af90b7bf7037b9cdad42a59c74c5d70e29045e1.tar.gz
CMake-7af90b7bf7037b9cdad42a59c74c5d70e29045e1.tar.bz2
Merge topic 'link-depends-is-OFF'
5945a98ced link dependencies: deactivate the feature Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8587
Diffstat (limited to 'Help')
-rw-r--r--Help/variable/CMAKE_LINK_DEPENDS_USE_LINKER.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/Help/variable/CMAKE_LINK_DEPENDS_USE_LINKER.rst b/Help/variable/CMAKE_LINK_DEPENDS_USE_LINKER.rst
index e1b37a5..1867ad8 100644
--- a/Help/variable/CMAKE_LINK_DEPENDS_USE_LINKER.rst
+++ b/Help/variable/CMAKE_LINK_DEPENDS_USE_LINKER.rst
@@ -10,3 +10,11 @@ variable with value ``FALSE``, you can deactivate this feature.
This feature is also deactivated if the :prop_tgt:`LINK_DEPENDS_NO_SHARED`
target property is true.
+
+.. note::
+
+ CMake version |release| defaults this variable to ``FALSE`` because
+ GNU binutils linkers (``ld``, ``ld.bfd``, ``ld.gold``) 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