Created attachment 144 [details] patch Normally, one should be able to do ./configure --flags ... CPPFLAGS='...' CFLAGS='...' LDFLAGS='...' With slony, this works for CFLAGS, but CPPFLAGS and LDFLAGS are not recorded in Makefile.global. If this were added, some assignments in Makefile.global because redundant, because the variable already contains the relevant values from configure. See attached patch. The background is that distribution package build routines nowadays pass extra "hardening" flags to the build via these variables, but slony currently ignores them except for the ones in CFLAGS.
Thanks for the patch This has been committed to master. http://git.postgresql.org/gitweb/?p=slony1-engine.git;a=commit;h=671b724ceed0c82431e5a117f4b01210febd8b9a
*** Bug 277 has been marked as a duplicate of this bug. ***