NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: toolchain/54100: _HOST_ARCH on NetBSD/amd64 returns 'uname -m' not 'uname -p'



The following reply was made to PR toolchain/54100; it has been noted by GNATS.

From: Valery Ushakov <uwe%stderr.spb.ru@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: toolchain/54100: _HOST_ARCH on NetBSD/amd64 returns 'uname -m'
 not 'uname -p'
Date: Fri, 7 Jun 2019 20:04:35 +0300

 On Fri, Apr 05, 2019 at 11:10:01 +0000, Izumi Tsutsui wrote:
 
 > >Synopsis:       _HOST_ARCH on NetBSD/amd64 returns 'uname -m' not 'uname -p'
 
 It does this everywhere, but almost everywhere they are the same,
 unlike on amd64.
 
 
 > Something wrong (triggered by underscore?) in the following definition?
 > > _HOST_ARCH:=    ${HOST_ARCH:tW:C/.*[^-_A-Za-z0-9].*//:S/unknown//}
 
 Right, typo in the variable name in the right hand side.  Make that
 ${_HOST_ARCH:...}
 
 
 -uwe
 


Home | Main Index | Thread Index | Old Index