]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake: Use uname instead of arch. arch is deprecated in linux-utils and coreutils... 6358/head
authorJohn Coyle <dx9err@gmail.com>
Thu, 22 Oct 2015 20:16:15 +0000 (16:16 -0400)
committerJohn Coyle <dx9err@gmail.com>
Thu, 22 Oct 2015 20:16:15 +0000 (16:16 -0400)
Signed-off-by: John Coyle <dx9err@gmail.com>
src/CMakeLists.txt

index 1d535b48c14508503868c7a312ebb557c245f4ab..28a02edaf91520cc81f9aad259aff5592fbf4a73 100644 (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")