summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_LINK_DEPENDS_USE_LINKER.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Help/variable/CMAKE_LINK_DEPENDS_USE_LINKER.rst')
-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