Wireshark-commits: [Wireshark-commits] master 021b305: CMake: limit the -pie linker option to execu

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 18 Oct 2018 20:04:38 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=021b305bcbf8b9cbd8f7a600c69c9b0e18ff9ffb
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

021b305 by Peter Wu (peter@xxxxxxxxxxxxx):

    CMake: limit the -pie linker option to executables
    
    WS_LINK_FLAGS also apply to libraries, but -pie has no effect on them.
    
    Change-Id: I9c7fde228c5faf20edf0ad45692577070b24a280
    Reviewed-on: https://code.wireshark.org/review/30239
    Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  f8022a5   IEEE 1609: Make sure our build target name is lower case.
     add  021b305   CMake: limit the -pie linker option to executables


Summary of changes:
 CMakeLists.txt | 18 ++++++++++++++++--
 1 file changed, 16 insertions(+), 2 deletions(-)