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. >> >> 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.
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_______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"