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>

git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@876 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
Andreas Färber
2010-10-03 06:54:04 +00:00
committed by Blue Swirl
parent 31fd96f480
commit a54cc09377

View File

@@ -71,6 +71,8 @@ crosscflags()
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