From 64d7ff778b606794db4800ed950cc27c2d7012b0 Mon Sep 17 00:00:00 2001 From: Alexander von Gluck IV Date: Thu, 2 Jan 2014 10:24:13 -0700 Subject: [PATCH] BuildSetup: Refactor 5e97cd45cf to better detect b.e. * Looking back, we should not assume little endian if we see armv* as armv7l is little endian while armv7b is big endian --- build/jam/BuildSetup | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build/jam/BuildSetup b/build/jam/BuildSetup index c3f9480c75..8b73fa6702 100644 --- a/build/jam/BuildSetup +++ b/build/jam/BuildSetup @@ -194,7 +194,8 @@ switch $(HOST_GCC_MACHINE) { # the following are rather unlikely as hosts ... case arm-* : HAIKU_HOST_IS_BIG_ENDIAN = 0 ; - case armv* : HAIKU_HOST_IS_BIG_ENDIAN = 0 ; + case armv7l-* : HAIKU_HOST_IS_BIG_ENDIAN = 0 ; + case armv7b-* : HAIKU_HOST_IS_BIG_ENDIAN = 1 ; case m68k-* : HAIKU_HOST_IS_BIG_ENDIAN = 1 ; case mipsel-* : HAIKU_HOST_IS_BIG_ENDIAN = 0 ; case * : Exit "Unsupported gcc host machine:" $(HOST_GCC_MACHINE) ;