mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
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:
committed by
Blue Swirl
parent
31fd96f480
commit
a54cc09377
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user