Skip to content

Commit

Permalink
Merge pull request #6358 from dx9/wip-12406-cmake-arch-detection
Browse files Browse the repository at this point in the history
cmake: Use uname instead of arch.

Reviewed-by: Kefu Chai <kchai@redhat.com>
  • Loading branch information
tchaikov committed Oct 29, 2015
2 parents d7fe0ca + c4fdbdd commit f9fdf47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit f9fdf47

Please sign in to comment.