svn commit: r234549 - head/share/mk
imp at bsdimp.com
Sun Apr 22 17:18:35 UTC 2012
On Apr 22, 2012, at 2:35 AM, Bruce Evans wrote:
> On Sat, 21 Apr 2012, Warner Losh wrote:
>> 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
>> --- 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
>> +.if !defined(%POSIX)
>> +NM ?= nm
>> .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.
More information about the svn-src-head