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 ---
v2: Break out arm check to its own 'if' line
config/scripts/switch-arch | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/config/scripts/switch-arch b/config/scripts/switch-arch index 44f2df4..868eae6 100755 --- a/config/scripts/switch-arch +++ b/config/scripts/switch-arch @@ -79,6 +79,8 @@ crosscflags() -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