tools/power/cpupower: fix 64bit detection when cross-compiling
authorSébastien Szymanski <sebastien.szymanski@armadeus.com>
Fri, 7 Jun 2019 15:02:55 +0000 (17:02 +0200)
committerShuah Khan <skhan@linuxfoundation.org>
Thu, 29 Aug 2019 15:50:54 +0000 (09:50 -0600)
commita73f6e2fbe8077811ea9546e0d44a7533111f0ba
treee0da297b30c352efb4e66eacd7161ac55a92909c
parent828f369d76d16bffa97133f6f63a64c13a401953
tools/power/cpupower: fix 64bit detection when cross-compiling

When cross-compiling cpupower, 64bit detection is done with the host
compiler instead of the cross-compiler and libcpupower.so.0 ends up in
/usr/lib64 instead of /usr/lib for 32bit target.  Fix this by moving
64bit detection after CC is defined.

Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/power/cpupower/Makefile