From owner-svn-src-head@FreeBSD.ORG Sun Apr 22 08:35:31 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 82EA6106564A; Sun, 22 Apr 2012 08:35:31 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from fallbackmx07.syd.optusnet.com.au (fallbackmx07.syd.optusnet.com.au [211.29.132.9]) by mx1.freebsd.org (Postfix) with ESMTP id F368E8FC12; Sun, 22 Apr 2012 08:35:30 +0000 (UTC) Received: from mail26.syd.optusnet.com.au (mail26.syd.optusnet.com.au [211.29.133.167]) by fallbackmx07.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id q3M8ZNLQ013588; Sun, 22 Apr 2012 18:35:23 +1000 Received: from c211-30-171-136.carlnfd1.nsw.optusnet.com.au (c211-30-171-136.carlnfd1.nsw.optusnet.com.au [211.30.171.136]) by mail26.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id q3M8ZDEo019262 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 22 Apr 2012 18:35:15 +1000 Date: Sun, 22 Apr 2012 18:35:13 +1000 (EST) From: Bruce Evans X-X-Sender: bde@besplex.bde.org To: Warner Losh In-Reply-To: <201204211745.q3LHjeHx098154@svn.freebsd.org> Message-ID: <20120422182554.S901@besplex.bde.org> References: <201204211745.q3LHjeHx098154@svn.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org 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 08:35:31 -0000 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