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:
John Coyle 2015-10-22 16:16:15 -04:00
parent 89b2b9b5c0
commit c4fdbdd093

View File

@ -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")