hyadav5 / 389-ds-base

Forked from 389-ds-base 6 years ago
Clone

620d037 Ticket 49053 - Enable flto for DS

Authored and Committed by William Brown 7 years ago
    Ticket 49053 - Enable flto for DS
    
    Bug Description:  Link Time Optimisation allows GCC to perform
    broader and more substantial improvements to our code. This is
    described https://gcc.gnu.org/onlinedocs/gccint/LTO-Overview.html
    
    Fix Description:  To enable LTO, there were a number of errors
    exposed on libldaputil related to the use of a callback struct.
    However, because of the current definition of INTLDAPU, this
    meant that the macros and ldap access vector were never accessed.
    This cleans up the struct and remove the macros, which resolves
    the issue with LTO building.
    
    https://gcc.gnu.org/onlinedocs/gccint/LTO-Overview.html
    
    Author: wibrown
    
    Review by: mreynolds (Thanks!)
    
        
file modified
+7 -9
file modified
+161 -7
file modified
+8 -19
file modified
+2 -1
file modified
+0 -58