[PATCH] configure: Respect LDFLAGS from the environment.
Jameson Rollins
jrollins at finestructure.net
Wed May 12 10:00:27 PDT 2010
On Wed, 12 May 2010 12:45:52 -0400, Nelson Elhage <nelhage at ksplice.com> wrote:
> The configure usage string documents that it respects LDFLAGS, but
> currently it doesn't do anything with the configure-time LDFLAGS
> value.
> ---
> configure | 4 ++++
> 1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/configure b/configure
> index c522ad8..90355e8 100755
> --- a/configure
> +++ b/configure
> @@ -6,6 +6,7 @@ CC=${CC:-gcc}
> CXX=${CXX:-g++}
> CFLAGS=${CFLAGS:--O2}
> CXXFLAGS=${CXXFLAGS:-\$(CFLAGS)}
> +LDFLAGS=${LDFLAGS-}
Hey, Nelson. I'm not sure exactly what you're trying to do here, but
I'm betting that this is not it. If you're trying to get the LDFLAGS
var from the existing environment, you probably want:
LDFLAGS=${LDFLAGS:-}
jamie.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100512/e2f99bec/attachment.pgp>
More information about the notmuch
mailing list