mirror of
https://github.com/roswell/roswell.git
synced 2026-09-10 07:16:17 -04:00
use uname -p instead of uname -m on arm netbsd aarch64
This commit is contained in:
parent
4c17a2b653
commit
c0a347fdf2
|
|
@ -58,6 +58,11 @@ char* uname_m(void) {
|
|||
s(p2);
|
||||
return q("x86-64");
|
||||
}
|
||||
if(strcmp(p2,"evbarm")==0 ) {
|
||||
/*netbsd arm*/
|
||||
s(p2);
|
||||
p2=system_("uname -p");
|
||||
}
|
||||
if(strcmp(p2,"aarch64")==0) {
|
||||
s(p2);
|
||||
return q("arm64");
|
||||
|
|
|
|||
Loading…
Reference in a new issue