From 8629d8da66441f1068d445fd0d90d55d53c0f7db 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 Tested-by: SPDK CI Jenkins Reviewed-by: Ben Walker Reviewed-by: Jim Harris --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index c329e9236..e04dd8da3 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