bugzilla-daemon at main.slony.info bugzilla-daemon at main.slony.info
Wed Feb 29 11:22:33 PST 2012
http://www.slony.info/bugzilla/show_bug.cgi?id=263

           Summary: cannot specify CPPFLAGS or LDFLAGS on configure
                    command line
           Product: Slony-I
           Version: devel
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: low
         Component: other scripts
        AssignedTo: slony1-bugs at lists.slony.info
        ReportedBy: peter_e at gmx.net
                CC: slony1-bugs at lists.slony.info
   Estimated Hours: 0.0


Created an attachment (id=144)
 --> (http://www.slony.info/bugzilla/attachment.cgi?id=144)
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.

-- 
Configure bugmail: http://www.slony.info/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Slony1-bugs mailing list