[haiku-commits] haiku: hrev52961 - build/jam

  • From: waddlesplash <waddlesplash@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 4 Mar 2019 13:59:01 -0500 (EST)

hrev52961 adds 1 changeset to branch 'master'
old head: bef99ce5849c709f3ac5e8cd043ba1af5c3e8af3
new head: 251892c136a70c248eb6e6dbb48c46553851fe98
overview: 
https://git.haiku-os.org/haiku/log/?qt=range&q=251892c136a7+%5Ebef99ce5849c

----------------------------------------------------------------------------

251892c136a7: BuildSetup: Remove unused big-endian host detection.
  
  Nothing references it anywhere. Also add "arm64" to 64-bit
  detection (which is used.)

                              [ Augustin Cavalier <waddlesplash@xxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev52961
Commit:      251892c136a70c248eb6e6dbb48c46553851fe98
URL:         https://git.haiku-os.org/haiku/commit/?id=251892c136a7
Author:      Augustin Cavalier <waddlesplash@xxxxxxxxx>
Date:        Mon Mar  4 18:37:56 2019 UTC

----------------------------------------------------------------------------

1 file changed, 3 insertions(+), 18 deletions(-)
build/jam/BuildSetup | 21 +++------------------

----------------------------------------------------------------------------

diff --git a/build/jam/BuildSetup b/build/jam/BuildSetup
index 895327065f..68e2a739be 100644
--- a/build/jam/BuildSetup
+++ b/build/jam/BuildSetup
@@ -173,30 +173,15 @@ HAIKU_BUILD_DESCRIPTION ?= "Unknown Build" ;
 #pragma mark - host platform settings
 
 
-# determine the endianness of the host
-switch $(HOST_GCC_MACHINE) {
-       case amd64-*    : HAIKU_HOST_IS_BIG_ENDIAN = 0 ;
-       case i?86-*             : HAIKU_HOST_IS_BIG_ENDIAN = 0 ;
-       case powerpc-*  : HAIKU_HOST_IS_BIG_ENDIAN = 1 ;
-       case x86_64-*   : HAIKU_HOST_IS_BIG_ENDIAN = 0 ;
-
-       # the following are rather unlikely as hosts ...
-       case arm-*              : HAIKU_HOST_IS_BIG_ENDIAN = 0 ;
-       case armv7l-*   : HAIKU_HOST_IS_BIG_ENDIAN = 0 ;
-       case armv7hl-*  : HAIKU_HOST_IS_BIG_ENDIAN = 0 ;
-       case armv7b-*   : HAIKU_HOST_IS_BIG_ENDIAN = 1 ;
-       case arm64-*    : HAIKU_HOST_IS_BIG_ENDIAN = 0 ;
-       case m68k-*             : HAIKU_HOST_IS_BIG_ENDIAN = 1 ;
-       case *                  : Exit "Unsupported gcc host machine:" 
$(HOST_GCC_MACHINE) ;
-}
-
 # analyze the host gcc machine spec to find out about 64-bitness
 HOST_PLATFORM_IS_64_BIT = ;
 switch $(HOST_GCC_MACHINE) {
-       case amd64-* :                          HOST_PLATFORM_IS_64_BIT = 1 ;
        case i686-apple-darwin10 :      HOST_PLATFORM_IS_64_BIT = 1 ;
        case i686-apple-darwin11 :      HOST_PLATFORM_IS_64_BIT = 1 ;
        case x86_64-* :                         HOST_PLATFORM_IS_64_BIT = 1 ;
+       case amd64-* :                          HOST_PLATFORM_IS_64_BIT = 1 ;
+
+       case arm64-* :                          HOST_PLATFORM_IS_64_BIT = 1 ;
        case aarch64-* :                        HOST_PLATFORM_IS_64_BIT = 1 ;
 }
 


Other related posts:

  • » [haiku-commits] haiku: hrev52961 - build/jam - waddlesplash