From: John Coyle Date: Thu, 22 Oct 2015 20:16:15 +0000 (-0400) Subject: cmake: Use uname instead of arch. arch is deprecated in linux-utils and coreutils... X-Git-Tag: v10.0.0~34^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c4fdbdd0931026e3127fbe395541cab2e2fd40df;p=ceph.git 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 --- 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")