Wireshark-commits: [Wireshark-commits] master e6b5bd0: Build: Add LTO/IPO support

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 4 Aug 2020 05:21:15 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=e6b5bd09766a1320c5540f78eb0e4ba03ce8f108
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

e6b5bd0 by Graham Bloice (graham.bloice@xxxxxxxxxxxxx):

    Build: Add LTO/IPO support
    
    Enable Link Time Optimization, also known as Interprocedural Optimization
    if the compiler supports it.
    
    Added a CMake option (ENABLE_LTO), defaulted to ON only on Windows
    
    Change-Id: Iea02b00aac12cc9a62595eeb8ff52382f1c4ddcd
    Reviewed-on: https://code.wireshark.org/review/37573
    Reviewed-by: Graham Bloice <graham.bloice@xxxxxxxxxxxxx>
    Petri-Dish: Graham Bloice <graham.bloice@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  458623f   ISUP: Decode Bellcore GR-317/GR-394 as ANSI
     add  e6b5bd0   Build: Add LTO/IPO support


Summary of changes:
 CMakeLists.txt   | 18 ++++++++++++++++++
 CMakeOptions.txt |  6 ++++++
 2 files changed, 24 insertions(+)