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.