From owner-svn-src-head@FreeBSD.ORG Sun Apr 22 17:18:35 2012 Return-Path: Delivered-To: svn-src-head@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 50921106564A; Sun, 22 Apr 2012 17:18:35 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id F07CB8FC16; Sun, 22 Apr 2012 17:18:34 +0000 (UTC) Received: from [10.0.0.63] (63.imp.bsdimp.com [10.0.0.63]) (authenticated bits=0) by harmony.bsdimp.com (8.14.4/8.14.3) with ESMTP id q3MHGCv1046479 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES128-SHA bits=128 verify=NO); Sun, 22 Apr 2012 11:16:12 -0600 (MDT) (envelope-from imp@bsdimp.com) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: <20120422182554.S901@besplex.bde.org> Date: Sun, 22 Apr 2012 11:16:12 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <020867DB-8DDD-4A5F-9CC1-02D1A4864D11@bsdimp.com> References: <201204211745.q3LHjeHx098154@svn.freebsd.org> <20120422182554.S901@besplex.bde.org> To: Bruce Evans X-Mailer: Apple Mail (2.1084) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (harmony.bsdimp.com [10.0.0.6]); Sun, 22 Apr 2012 11:16:12 -0600 (MDT) Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org, Warner Losh Subject: Re: svn commit: r234549 - head/share/mk X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Apr 2012 17:18:35 -0000 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=