Re: [HEADS UP] ar(1) front-end committed. (notes for cross compile)

From: David O'Brien <obrien_at_FreeBSD.org>
Date: Fri, 22 Feb 2008 01:27:13 -0800
On Fri, Feb 22, 2008 at 12:16:42PM +0300, Ruslan Ermilov wrote:
> RCS file: /home/ncvs/src/usr.bin/Makefile,v
..
> -	ar \
> +	${_ar} \
..
>  .if ${MK_TOOLCHAIN} != "no"
> +_ar=		ar

Please commit now - I should have done it this way.


> RCS file: /home/ncvs/src/usr.bin/ar/Makefile,v
..
> -.if defined(WITH_BSDAR)
> -PROG=	ar
> -.else
>  PROG=	bsdar
> -.endif
> +LINKS=	${BINDIR}/bsdar ${BINDIR}/bsdranlib
> +MLINKS=	bsdar.1 bsdranlib.1

LINKS and MLINKS don't belong here in a Makefile - they are better
located where I have them.


> -NO_SHARED?=	yes

It looks like you're totally removing the NO_SHARED setting, or do you
still have it set when BSD-ar is the default 'ar'?
Received on Fri Feb 22 2008 - 08:47:27 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:27 UTC