[commit] r1239 - trunk/openbios-devel/config/scripts
Author: mcayland Date: Tue Dec 10 22:01:48 2013 New Revision: 1239 URL: http://tracker.coreboot.org/trac/openbios/changeset/1239 Log: Fix cross compiling sparc64 on arm32 host Add arm32 to the whitelist for handling lack of int128 type variants. Otherwise we get errors like: /target/include/asm/types.h:79:1: error: unknown type name â__int128_tâ typedef __int128_t dcell; This may introduce issues building on aarch64 but I have no way to test. Signed-off-by: Cole Robinson <crobinso@redhat.com> Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Modified: trunk/openbios-devel/config/scripts/switch-arch Modified: trunk/openbios-devel/config/scripts/switch-arch ============================================================================== --- trunk/openbios-devel/config/scripts/switch-arch Tue Dec 10 22:01:46 2013 (r1238) +++ trunk/openbios-devel/config/scripts/switch-arch Tue Dec 10 22:01:48 2013 (r1239) @@ -79,6 +79,8 @@ -o "$target" = "alpha"; then if test "$host" = "x86"; then cflags="$cflags -DNEED_FAKE_INT128_T" + elif test "$host" = "arm"; then + cflags="$cflags -DNEED_FAKE_INT128_T" elif test "$host" = "ppc" -a `uname -s` = "Darwin"; then cflags="$cflags -DNEED_FAKE_INT128_T" fi
participants (1)
-
repository service