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
This commit is contained in:
parent
803fab4fac
commit
64d7ff778b
@ -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) ;
|
||||
|
Loading…
Reference in New Issue
Block a user