switch-arch: Force cross-compilation on Mac OS X host
commite332c0a9d2b390be75dca04b728f6c9e44bed190
authorafaerber <afaerber@f158a5a8-5612-0410-a976-696ce0be7e32>
Sat, 30 Oct 2010 13:35:07 +0000 (30 13:35 +0000)
committerafaerber <afaerber@f158a5a8-5612-0410-a976-696ce0be7e32>
Sat, 30 Oct 2010 13:35:07 +0000 (30 13:35 +0000)
tree02125236ec101c8361712e4847aa51225fa5ec8f
parentff6f5ffec4eb24d9bf913379568b4d1e82679da0
switch-arch: Force cross-compilation on Mac OS X host

r879 broke ppc cross-compilation from Darwin/ppc host.
Symptom is that the assembler chokes on arch/ppc/qemu/start.S.

Always use a cross-compiler on Darwin host
since *-apple-darwin*-{gcc,ld} would produce Mach-O binaries.

Signed-off-by: Andreas Färber <andreas.faerber@web.de>
git-svn-id: svn://openbios.org/openbios/trunk/openbios-devel@926 f158a5a8-5612-0410-a976-696ce0be7e32
config/scripts/switch-arch