From c4fdbdd0931026e3127fbe395541cab2e2fd40df Mon Sep 17 00:00:00 2001 From: John Coyle Date: Thu, 22 Oct 2015 16:16:15 -0400 Subject: [PATCH] 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 --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 1d535b48c145..28a02edaf915 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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") -- 2.47.3