mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-30 02:59:22 -05:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user