d1ef707 Ticket 49515 - cannot link, missing -fPIC

Authored and Committed by William Brown 6 years ago
1 file changed. 5 lines added. 1 lines removed.
    Ticket 49515 - cannot link, missing -fPIC
    
    Bug Description:  When building the server with --disable-gcc-security,
      due to an issue in autotools linker flag emission on RPM based
      system, -fPIC is missing. --enable-gcc-security masks this by
      providing -specs that add -fPIC when required on the types.
    
      This causes the build to fail in some conditions,
    
    Fix Description:  Detect and add the rpm cc specs if present
      on all builds.
    
    https://pagure.io/389-ds-base/issue/49515
    
    Author: wibrown
    
    Review by: mreynolds (Thanks!)
    
        
file modified
+5 -1