* configure clobbers LDFLAGS
@ 2009-01-05 2:27 Paul Jarc
2009-01-05 6:00 ` Jeff King
0 siblings, 1 reply; 3+ messages in thread
From: Paul Jarc @ 2009-01-05 2:27 UTC (permalink / raw)
To: git
[-- Attachment #1: Type: text/plain, Size: 152 bytes --]
(I'm not subscribed; Mail-Followup-To set.)
In a couple of tests, configure clobbers the LDFLAGS value set by the
caller. This patch fixes it.
paul
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: git-ldflags.diff --]
[-- Type: text/x-patch, Size: 813 bytes --]
diff --git a/configure.ac b/configure.ac
index 8821b50..0a5fc8c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -127,7 +127,7 @@ else
SAVE_LDFLAGS="${LDFLAGS}"
LDFLAGS="${SAVE_LDFLAGS} -Wl,-rpath,/"
AC_LINK_IFELSE(AC_LANG_PROGRAM([], []), [ld_wl_rpath=yes], [ld_wl_rpath=no])
- LDFLAGS="${SAVE_LD_FLAGS}"
+ LDFLAGS="${SAVE_LDFLAGS}"
])
if test "$ld_wl_rpath" = "yes"; then
AC_SUBST(CC_LD_DYNPATH, [-Wl,-rpath,])
@@ -136,7 +136,7 @@ else
SAVE_LDFLAGS="${LDFLAGS}"
LDFLAGS="${SAVE_LDFLAGS} -rpath /"
AC_LINK_IFELSE(AC_LANG_PROGRAM([], []), [ld_rpath=yes], [ld_rpath=no])
- LDFLAGS="${SAVE_LD_FLAGS}"
+ LDFLAGS="${SAVE_LDFLAGS}"
])
if test "$ld_rpath" = "yes"; then
AC_SUBST(CC_LD_DYNPATH, [-rpath])
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: configure clobbers LDFLAGS
2009-01-05 2:27 configure clobbers LDFLAGS Paul Jarc
@ 2009-01-05 6:00 ` Jeff King
2009-01-06 8:19 ` Junio C Hamano
0 siblings, 1 reply; 3+ messages in thread
From: Jeff King @ 2009-01-05 6:00 UTC (permalink / raw)
To: prj; +Cc: Junio C Hamano, git
On Sun, Jan 04, 2009 at 09:27:41PM -0500, Paul Jarc wrote:
> In a couple of tests, configure clobbers the LDFLAGS value set by the
> caller. This patch fixes it.
Thanks for the patch. It looks obviously correct to me, and the problem
was just some typos introduced by 798a9450.
Junio, I think this should go onto maint.
> (I'm not subscribed; Mail-Followup-To set.)
The usual behavior on this list is to reply to the sender, cc'ing the
list and any previous to or cc's. So MFT is unnecessary and generally
frowned upon here.
Also, if you are planning on sending more patches, the usual practice is
for them to be inline rather than attached, with the commit message as
the body and any cover letter (like MFT discussion) after the
triple-dash; git format-patch will generate this format for you. More
information is in Documentation/SubmittingPatches.
-Peff
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: configure clobbers LDFLAGS
2009-01-05 6:00 ` Jeff King
@ 2009-01-06 8:19 ` Junio C Hamano
0 siblings, 0 replies; 3+ messages in thread
From: Junio C Hamano @ 2009-01-06 8:19 UTC (permalink / raw)
To: Jeff King; +Cc: prj, git
Jeff King <peff@peff.net> writes:
> On Sun, Jan 04, 2009 at 09:27:41PM -0500, Paul Jarc wrote:
>
>> In a couple of tests, configure clobbers the LDFLAGS value set by the
>> caller. This patch fixes it.
>
> Thanks for the patch. It looks obviously correct to me, and the problem
> was just some typos introduced by 798a9450.
>
> Junio, I think this should go onto maint.
Thanks; will queue.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-01-06 8:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-05 2:27 configure clobbers LDFLAGS Paul Jarc
2009-01-05 6:00 ` Jeff King
2009-01-06 8:19 ` Junio C Hamano
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 NNTP newsgroup(s).