+2
−2
Loading
Similar to commit 98f84e62 ("build: detect OS via cc -dumpmachine"), we can use the C compiler's -dumpmachine output to detect the target CPU architecture rather than relying on the build machine's uname output. This helps enable correct CPU detection when $(CC) is a cross compiler. Change-Id: I72c34294a1ff7dd9df3aa45dfc319e5b81d51f85 Signed-off-by:Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-on: https://review.gerrithub.io/385709 Tested-by:
SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com>