Re: Git configure/make does not honor ARFLAGS

2015-09-16 Thread Eric Sunshine
On Wed, Sep 16, 2015 at 3:38 PM, Eric Sunshine wrote: > On the other hand, as far as I know, it's *always* safe to replace > 'ar' with 'libtool' on this platform, so we could just do it > unconditionally. > > --- 8< --- > ifeq ($(uname_S),Darwin) > + AR = libtool > + ARFLAGS = -static

Re: Git configure/make does not honor ARFLAGS

2015-09-16 Thread Eric Sunshine
On Sun, Sep 13, 2015 at 10:52:36PM -0700, Junio C Hamano wrote: > On Sun, Sep 13, 2015 at 9:59 PM, Jeff King wrote: > > > > My follow-up question was going to be: is this something we should be > > setting in config.mak.uname for appropriate versions of Darwin? It > > wasn't clear to me from Eric'

Re: Git configure/make does not honor ARFLAGS

2015-09-14 Thread Junio C Hamano
Jeffrey Walton writes: >> Oh, indeed. ac179b4d9. Looks good to me. >> >> My follow-up question was going to be: is this something we should be >> setting in config.mak.uname for appropriate versions of Darwin? It >> wasn't clear to me from Eric's description if this is something that >> particula

Re: Git configure/make does not honor ARFLAGS

2015-09-14 Thread Jeffrey Walton
On Mon, Sep 14, 2015 at 12:59 AM, Jeff King wrote: > On Sun, Sep 13, 2015 at 09:57:08PM -0700, Junio C Hamano wrote: > >> On Sun, Sep 13, 2015 at 9:30 PM, Jeff King wrote: >> > >> > Ah, OK. Today I learned something. :) >> > >> > Jeffrey, can you produce a tested patch which works for you? >> >>

Re: Git configure/make does not honor ARFLAGS

2015-09-13 Thread Junio C Hamano
On Sun, Sep 13, 2015 at 9:59 PM, Jeff King wrote: > > My follow-up question was going to be: is this something we should be > setting in config.mak.uname for appropriate versions of Darwin? It > wasn't clear to me from Eric's description if this is something that > particular versions need, or jus

Re: Git configure/make does not honor ARFLAGS

2015-09-13 Thread Jeff King
On Sun, Sep 13, 2015 at 09:57:08PM -0700, Junio C Hamano wrote: > On Sun, Sep 13, 2015 at 9:30 PM, Jeff King wrote: > > > > Ah, OK. Today I learned something. :) > > > > Jeffrey, can you produce a tested patch which works for you? > > If I am not mistaken, I think I already have one on 'pu' (I t

Re: Git configure/make does not honor ARFLAGS

2015-09-13 Thread Junio C Hamano
On Sun, Sep 13, 2015 at 9:30 PM, Jeff King wrote: > > Ah, OK. Today I learned something. :) > > Jeffrey, can you produce a tested patch which works for you? If I am not mistaken, I think I already have one on 'pu' (I think I did that as an afternoon-tea time hack or something). -- To unsubscribe

Re: Git configure/make does not honor ARFLAGS

2015-09-13 Thread Jeff King
On Sun, Sep 13, 2015 at 01:11:46PM -0400, Eric Sunshine wrote: > > Hrm. Your "$(AR)" is not really "ar" then, is it? It has been a long > > time since I played with libtool, but what is the reason that you are > > calling libtool and not "ar" in the first place. Is it that you do not > > have "ar"

Re: Git configure/make does not honor ARFLAGS

2015-09-13 Thread Jeffrey Walton
On Sun, Sep 13, 2015 at 1:11 PM, Eric Sunshine wrote: > On Sun, Sep 13, 2015 at 6:17 AM, Jeff King wrote: >> On Sun, Aug 30, 2015 at 05:34:59PM -0400, Jeffrey Walton wrote: >>> I'm working on an old OS X machine. I needed to perform: >>> >>> AR=libtool >>> ARFLAGS="-static -o" >>> ... >>>

Re: Git configure/make does not honor ARFLAGS

2015-09-13 Thread Eric Sunshine
On Sun, Sep 13, 2015 at 6:17 AM, Jeff King wrote: > On Sun, Aug 30, 2015 at 05:34:59PM -0400, Jeffrey Walton wrote: >> I'm working on an old OS X machine. I needed to perform: >> >> AR=libtool >> ARFLAGS="-static -o" >> ... >> make configure >> ./configure ... >> make > > Hrm. Your "$(

Re: Git configure/make does not honor ARFLAGS

2015-09-13 Thread Jeff King
On Sun, Aug 30, 2015 at 05:34:59PM -0400, Jeffrey Walton wrote: > I'm working on an old OS X machine. I needed to perform: > > AR=libtool > ARFLAGS="-static -o" > ... > make configure > ./configure ... > make Hrm. Your "$(AR)" is not really "ar" then, is it? It has been a long time s

Git configure/make does not honor ARFLAGS

2015-08-30 Thread Jeffrey Walton
I'm working on an old OS X machine. I needed to perform: AR=libtool ARFLAGS="-static -o" ... make configure ./configure ... make However, it appears the Makefile does not respect ARFLAGS: $ grep -IR '$(AR)' * Makefile:$(QUIET_AR)$(RM) $@ && $(AR) rcs $@ $^ Makefile: