Cc: Jiri Slaby <jirislaby@...>, Sam Ravnborg <sam@...>, Linux kernel mailing list <linux-kernel@...>, Michael Buesch <mb@...>, Gordon Farquharson <gordonfarquharson@...>
echo -en '#!/bin/bash\nexec gcc -m32 "$@"\n' >/usr/local/bin/i386-linux-gcc
make CC=i386-linux-gcc
then the if($(CC),$(HOSTCC)) check should get true.
--