[Pkg-openldap-devel] Bug#919136: openldap: restore separate compile and link flags for contrib modules

Ryan Tandy ryan at nardis.ca
Sun Jan 13 02:09:14 GMT 2019


Source: openldap
Version: 2.4.47+dfsg-2
Severity: important

In 2.4.47+dfsg-2 I dropped most of the patches to the contrib makefiles. 
Instead I override the provided OPT variable with CFLAGS, CPPFLAGS, and 
LDFLAGS concatenated.

This is not really correct, but seemed to work in my tests. 
Unfortunately it FTBFS on at least ia64 and x32. It looks like those 
architectures use spec files to enable PIE support.

I'm talking to upstream about having these makefiles respect CFLAGS, 
CPPFLAGS, and LDFLAGS. In the mean time, it's probably best to bring 
back the makefile patches.



More information about the Pkg-openldap-devel mailing list