D17863: Add ecm_check_linker_flags function

Tobias C. Berner noreply at phabricator.kde.org
Mon Dec 31 06:48:35 GMT 2018


tcberner added a comment.


  In D17863#384145 <https://phabricator.kde.org/D17863#384145>, @cgiboudeaux wrote:
  
  > Why not fixing kstars instead?
  
  
  
  
    include(ECMCheckLinkerFlags)
    [...]
    # Check for nodump support
    SET(NODUMP_FLAGS "-Wl,-z,nodump")
    ecm_check_linker_flags("${NODUMP_FLAGS}" NODUMP_SUPPORTED)
    if (NODUMP_SUPPORTED)
        SET(SEC_LINK_FLAGS "${SEC_LINK_FLAGS} ${NODUMP_FLAGS}")
    endif ()
  
  ^ that is the fix for kstars.  -- Of course kstars could also just stop adding nodump ever :)

REPOSITORY
  R240 Extra CMake Modules

REVISION DETAIL
  https://phabricator.kde.org/D17863

To: tcberner, #freebsd, dfaure, apol, cgiboudeaux
Cc: kde-frameworks-devel, kde-buildsystem, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20181231/6bfd6d2f/attachment.html>


More information about the Kde-frameworks-devel mailing list