[buildcore] Fix arch output for host_env to be more consistent
This commit is contained in:
parent
e9c5134286
commit
99a7a2cbfc
4
deps/buildcore/scripts/pybb.py
vendored
4
deps/buildcore/scripts/pybb.py
vendored
@ -117,9 +117,7 @@ def hostname() -> int:
|
||||
|
||||
def host_env() -> int:
|
||||
os_name = platform.system().lower()
|
||||
arch = platform.machine()
|
||||
if arch == 'amd64':
|
||||
arch = 'x86_64'
|
||||
arch = util.get_arch()
|
||||
print(f'{os_name}-{arch}')
|
||||
return 0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user