Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Apr 2012 18:35:13 +1000 (EST)
From:      Bruce Evans <brde@optusnet.com.au>
To:        Warner Losh <imp@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r234549 - head/share/mk
Message-ID:  <20120422182554.S901@besplex.bde.org>
In-Reply-To: <201204211745.q3LHjeHx098154@svn.freebsd.org>
References:  <201204211745.q3LHjeHx098154@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 21 Apr 2012, Warner Losh wrote:

> Log:
>  Fix partially merged patch from my external compiler tree in r234546.
>  Define NM except when we're in strict POSIX mode.
>
> Modified:
>  head/share/mk/sys.mk
>
> Modified: head/share/mk/sys.mk
> ==============================================================================
> --- head/share/mk/sys.mk	Sat Apr 21 16:27:50 2012	(r234548)
> +++ head/share/mk/sys.mk	Sat Apr 21 17:45:40 2012	(r234549)
> @@ -141,6 +141,10 @@ YFLAGS		?=
> YFLAGS		?=	-d
> .endif
>
> +.if !defined(%POSIX)
> +NM		?=	nm
> +.endif
> +
> .if defined(%POSIX)
>
> # Posix 1003.2 mandated rules

Any chance of defining NM in order?

The existing list was sorted except for RANLIB being grouped with AR,
CPP after CXX*, LD after LEX, LINTL* after LINTO* (flags are grouped
with commands so the combined sorting is not fully alphabetical).

Only NM is totally disordered (added at the end instead of inserted).

The unsorted macros are associated with more namespace pollution than
the sorted ones.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120422182554.S901>