From: Jameson Rollins <jrollins@finestructure.net>
To: Nelson Elhage <nelhage@ksplice.com>, notmuch@notmuchmail.org
Subject: Re: [PATCH] configure: Respect LDFLAGS from the environment.
Date: Wed, 12 May 2010 13:00:27 -0400 [thread overview]
Message-ID: <87wrv9caxg.fsf@servo.finestructure.net> (raw)
In-Reply-To: <1273682752-19140-1-git-send-email-nelhage@ksplice.com>
[-- Attachment #1: Type: text/plain, Size: 800 bytes --]
On Wed, 12 May 2010 12:45:52 -0400, Nelson Elhage <nelhage@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.
[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]
next prev parent reply other threads:[~2010-05-12 17:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-12 16:45 [PATCH] configure: Respect LDFLAGS from the environment Nelson Elhage
2010-05-12 17:00 ` Jameson Rollins [this message]
2010-05-12 17:29 ` Nelson Elhage
2010-05-12 17:44 ` Jameson Rollins
2010-06-04 1:19 ` Carl Worth
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wrv9caxg.fsf@servo.finestructure.net \
--to=jrollins@finestructure.net \
--cc=nelhage@ksplice.com \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).