Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configure.ac: Use uname instead of arch. #9766

Merged
merged 1 commit into from Jul 4, 2016

Conversation

dx9
Copy link
Contributor

@dx9 dx9 commented Jun 17, 2016

cmake is using uname -m see #6358

uname -m returns amd64 on FreeBSD

@wjwithagen
Copy link
Contributor

lgtm

arch is deprecated in linux-utils and coreutils does not install it by default.

https://git.kernel.org/cgit/utils/util-linux/util-linux.git/commit/?id=27abd8094845b4b2002a8ed5c3dd212999902c8f
http://www.gnu.org/software/coreutils/manual/html_node/arch-invocation.html#arch-invocation

Use uname -m, because uname -p returns unknown on alpine.

Signed-off-by: John Coyle <dx9err@gmail.com>
@tchaikov tchaikov merged commit 873aba7 into ceph:master Jul 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants