Re: Why are these modules built without respecting my LDFLAGS?

From: "Aaron W(dot) Swenson" <aaron(dot)w(dot)swenson(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Why are these modules built without respecting my LDFLAGS?
Date: 2010-06-27 22:38:09
Message-ID: 201006271838.09279.aaron.w.swenson@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sunday 27 June 2010 10:26:48 you wrote:
> "Aaron W. Swenson" <aaron(dot)w(dot)swenson(at)gmail(dot)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.)

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2010-06-27 23:41:06 Re: Why are these modules built without respecting my LDFLAGS?
Previous Message Mike Fowler 2010-06-27 22:22:38 Re: [PATCH] Re: Adding XMLEXISTS to the grammar