You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Makefile: replace the 'arch' command with 'uname -m'
tl;dr
I'm using Arch linux and ironically can't build this because
I don't have the "arch" command. I dug a bit and found it's a
wrapper to 'uname -m' so I just replaced it.
Long version
`arch` is a wrapper for `uname -m` in GNU coreutils [0]
However, unlikely the `uname` command, the `arch` command
is not as available.
It also looks like the arch command is being carried on in
UNIX history as a mechanism for retrocompatibility, here's a
manpage for solaris [1] saying:
"This command is provided for compatibility with previous releases and its use is discouraged. Instead, the uname command is recommended. See uname(1) for usage information."
[0]: https://github.com/coreutils/coreutils/blob/00ea4bacf6063ccc125209d5186f8f2382c6f0d4/src/coreutils-arch.c
[1]: https://docs.oracle.com/cd/E88353_01/html/E37839/arch-1.html
Signed-off-by: Lorenzo Fontana <[email protected]>
0 commit comments