mirror of
https://github.com/geohot/qira
synced 2025-03-12 18:13:15 +03:00
Use uname -m
to determine machine arch.
`uname -p` returned uknown for me. After googling for a while I found maybe-more-portable option. For example see: https://github.com/torvalds/linux/blob/master/Makefile#L228
This commit is contained in:
parent
f543448a20
commit
ac41dbb976
@ -11,7 +11,7 @@ LIBCAPSTONE64_SHA256="a7bf1cb814c6e712a314659b074bc4c00d2e0006cac67d055d3130d4ec
|
||||
LIBCAPSTONE32_SHA256="4ffb4630829b9b4e8c713ae8336a8259b180194233f248170bfe0d1577257fb2"
|
||||
|
||||
unamestr=$(uname)
|
||||
arch=$(uname -p)
|
||||
arch=$(uname -m)
|
||||
|
||||
if [[ "$unamestr" == 'Linux' ]]; then
|
||||
# we need pip to install python stuff
|
||||
|
Loading…
x
Reference in New Issue
Block a user