From 90c60fc372a01025939b3715a416482afef2ce9b Mon Sep 17 00:00:00 2001 From: gila Date: Tue, 5 Feb 2019 00:14:42 +0100 Subject: [PATCH] configure: update how CPU arch is determined The -i option for uname is not portable, -m is a better choice. Fixes #648 Signed-off-by: gila Change-Id: I2287e652e8d3243df2bf101c1cfbdc6aedf643f1 Reviewed-on: https://review.gerrithub.io/c/443315 (master) Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/447596 Reviewed-by: Darek Stojaczyk Reviewed-by: Ben Walker Tested-by: SPDK CI Jenkins --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 7cd9bacad..502f4b1c0 100755 --- a/configure +++ b/configure @@ -294,7 +294,7 @@ for i in "$@"; do done # Detect architecture and force no isal if non x86 archtecture -arch=$(uname -i) +arch=$(uname -m) if [[ $arch != x86_64* ]]; then echo "Notice: ISAL auto-disabled due to CPU incompatiblity." CONFIG[ISAL]=n