Re: Why are these modules built without respecting my LDFLAGS? - Mailing list pgsql-hackers

From Aaron W. Swenson
Subject Re: Why are these modules built without respecting my LDFLAGS?
Date
Msg-id 201006271838.09279.aaron.w.swenson@gmail.com
Whole thread Raw
In response to Re: Why are these modules built without respecting my LDFLAGS?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Why are these modules built without respecting my LDFLAGS?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Sunday 27 June 2010 10:26:48 you wrote:
> "Aaron W. Swenson" <aaron.w.swenson@gmail.com> writes:
> > I have a short list of modules that have been built without respecting my
> > LDFLAGS and/or LDFLAGS_SL.
> 
> It's difficult to comment on this since you haven't told us what flags
> you wanted to inject, nor exactly how you tried to inject them, nor what
> version of PG you're working with, nor what platform you're on.  But
> generally speaking I'd expect the values of those variables set by
> configure to be used in linking all contrib modules.
> 
>             regards, tom lane
> 

Thank you for the quick response. I apologize for leaving out some pertinent 
information.

OS = Gentoo Linux
CPU = AMD Athlon XP-M x86
LDFLAGS = -Wl,-O1,--hash-style=gnu
LDFLAGS_SL = ${LDFLAGS}
PgSQL = 8.4.4

LDFLAGS and LDFLAGS_SL are exported as environment variables that ./configure 
does pick up, and pg_config confirms this. (pg_config also reveals that '--as-
needed' is tacked onto LDFLAGS, which isn't a problem.)


pgsql-hackers by date:

Previous
From: Mike Fowler
Date:
Subject: Re: [PATCH] Re: Adding XMLEXISTS to the grammar
Next
From: Tom Lane
Date:
Subject: Re: Why are these modules built without respecting my LDFLAGS?