Author: blueswirl Date: Sun Oct 3 08:54:04 2010 New Revision: 876 URL: http://tracker.coreboot.org/trac/openbios/changeset/876
Log: Darwin/ppc host needs fake int128_t for sparc64
Otherwise it chokes on ducell in include/kernel/stack.h.
Signed-off-by: Andreas Färber andreas.faerber@web.de Signed-off-by: Blue Swirl blauwirbel@gmail.com
Modified: trunk/openbios-devel/config/scripts/switch-arch
Modified: trunk/openbios-devel/config/scripts/switch-arch ============================================================================== --- trunk/openbios-devel/config/scripts/switch-arch Sat Oct 2 15:28:49 2010 (r875) +++ trunk/openbios-devel/config/scripts/switch-arch Sun Oct 3 08:54:04 2010 (r876) @@ -71,6 +71,8 @@
if test "$host" = "x86" -a "$targetlongbits" = "64"; then cflags="$cflags -DNEED_FAKE_INT128_T" + elif test "$host" = "ppc" -a "$targetlongbits" = "64" -a `uname -s` = "Darwin"; then + cflags="$cflags -DNEED_FAKE_INT128_T" fi
CROSSCFLAGS=$cflags