components/desktop/firefox/patches/firefox-22-snappy.patch
changeset 5527 611b2d6efdfe
parent 5255 cea0e462549a
equal deleted inserted replaced
5526:570ac9aab8b2 5527:611b2d6efdfe
       
     1 Defined Endians.
       
     2 Can potentially go upstream.
       
     3 
       
     4 diff --git a/configure b/configure
       
     5 --- a/configure
       
     6 +++ b/configure
       
     7 @@ -9620,6 +9620,18 @@
       
     8  #define SOLARIS 1
       
     9  EOF
       
    10  
       
    11 +    if test "$CPU_ARCH" = "sparc"; then
       
    12 + cat >> confdefs.pytmp <<\EOF
       
    13 +  (''' WORDS_BIGENDIAN ''', ' 1 ')
       
    14 +  (''' IS_BIG_ENDIAN ''', ' 1 ')
       
    15 +EOF
       
    16 +cat >> confdefs.h <<\EOF
       
    17 +#define WORDS_BIGENDIAN 1
       
    18 +#define IS_BIG_ENDIAN 1
       
    19 +EOF
       
    20 +
       
    21 +    fi
       
    22 +
       
    23      TARGET_NSPR_MDCPUCFG='\"md/_solaris.cfg\"'
       
    24      MOZ_FIX_LINK_PATHS=
       
    25      # $ORIGIN/.. is for shared libraries under components/ to locate shared