mirror of
https://github.com/ceph/ceph
synced 2024-12-17 08:57:28 +00:00
cmake: Use uname instead of arch. arch is deprecated in linux-utils and coreutils does not install it by default.
Signed-off-by: John Coyle <dx9err@gmail.com>
This commit is contained in:
parent
89b2b9b5c0
commit
c4fdbdd093
@ -25,7 +25,7 @@ if(no_yasm)
|
||||
else(no_yasm)
|
||||
message(STATUS " we have a modern and working yasm")
|
||||
execute_process(
|
||||
COMMAND "arch"
|
||||
COMMAND uname -m
|
||||
OUTPUT_VARIABLE arch
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||
if(arch STREQUAL "x86_64")
|
||||
|
Loading…
Reference in New Issue
Block a user