changeset 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
files configure
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sat Nov 10 15:01:48 2012 +0000
+++ b/configure	Sat Nov 10 15:51:19 2012 +0000
@@ -1807,7 +1807,7 @@
 elif x86; then
   # all other OSes try to extract CPU information from a small helper
   # program cpuinfo instead
-  $_cc -o cpuinfo$_exesuf cpuinfo.c
+  $_host_cc -o cpuinfo$_exesuf cpuinfo.c
   _cpuinfo="./cpuinfo$_exesuf"
 fi