Re: Git configure/make does not honor ARFLAGS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 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" at all, and libtool performs some other procedure? If so, is
there a more ar-compatible wrapper that can be used?

> The Makefile might benefit from the following for users who need to
> tweak things:
> 
>     ARFLAGS ?= rcs
>     ...
> 
>     $(QUIET_AR)$(RM) $@ && $(AR) $(ARFLAGS) $@ $^
>     ...

Yeah, that does sound reasonable (even if one does not set $(AR) to
something completely different, they might need slightly different
flags).

Care to send a patch?

-Peff
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]