Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Apr 2012 11:16:12 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Bruce Evans <brde@optusnet.com.au>
Cc:        svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org, Warner Losh <imp@FreeBSD.org>
Subject:   Re: svn commit: r234549 - head/share/mk
Message-ID:  <020867DB-8DDD-4A5F-9CC1-02D1A4864D11@bsdimp.com>
In-Reply-To: <20120422182554.S901@besplex.bde.org>
References:  <201204211745.q3LHjeHx098154@svn.freebsd.org> <20120422182554.S901@besplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On Apr 22, 2012, at 2:35 AM, Bruce Evans wrote:
> 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.
>>=20
>> Modified:
>> head/share/mk/sys.mk
>>=20
>> Modified: head/share/mk/sys.mk
>> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
>> --- 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		?=3D
>> YFLAGS		?=3D	-d
>> .endif
>>=20
>> +.if !defined(%POSIX)
>> +NM		?=3D	nm
>> +.endif
>> +
>> .if defined(%POSIX)
>>=20
>> # Posix 1003.2 mandated rules
>=20
> Any chance of defining NM in order?
>=20
> 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).
>=20
> Only NM is totally disordered (added at the end instead of inserted).
>=20
> The unsorted macros are associated with more namespace pollution than
> the sorted ones.

Yea, I added NM quickly after I discovered I'd forgotten it when I =
converted the bare nm's in libgcc.  Since my external cc tree was =
different, I did this by hand.  In that tree, it was sorted...

But I've gone ahead and moved it until I can get the external compiler =
stuff committed.

Warner=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?020867DB-8DDD-4A5F-9CC1-02D1A4864D11>