Commit 5005907
committed
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 <fontanalorenz@gmail.com>1 parent b1c4e32 commit 5005907
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
0 commit comments