comparison configure @ 35320:2ea8746871f2

cpuinfo binary needs to be compiled with host compiler.
author reimar
date Sat, 10 Nov 2012 15:51:19 +0000
parents ba51b077d042
children fbcd69bb7d02
comparison
equal deleted inserted replaced
35319:ba51b077d042 35320:2ea8746871f2
1805 # use 'lsattr' on AIX 1805 # use 'lsattr' on AIX
1806 _cpuinfo="lsattr -E -l proc0 -a type" 1806 _cpuinfo="lsattr -E -l proc0 -a type"
1807 elif x86; then 1807 elif x86; then
1808 # all other OSes try to extract CPU information from a small helper 1808 # all other OSes try to extract CPU information from a small helper
1809 # program cpuinfo instead 1809 # program cpuinfo instead
1810 $_cc -o cpuinfo$_exesuf cpuinfo.c 1810 $_host_cc -o cpuinfo$_exesuf cpuinfo.c
1811 _cpuinfo="./cpuinfo$_exesuf" 1811 _cpuinfo="./cpuinfo$_exesuf"
1812 fi 1812 fi
1813 1813
1814 if x86 ; then 1814 if x86 ; then
1815 # gather more CPU information 1815 # gather more CPU information