mozilla-arm64-libjpeg-turbo.patch
branchfirefox38
changeset 858 0bbf4b3a4272
child 869 0dd25a92df97
equal deleted inserted replaced
855:1f860c829900 858:0bbf4b3a4272
       
     1 Index: mozilla/configure.in
       
     2 ===================================================================
       
     3 --- mozilla.orig/configure.in
       
     4 +++ mozilla/configure.in
       
     5 @@ -6241,7 +6241,7 @@ fi
       
     6  
       
     7  dnl If we're on an ARM system which supports libjpeg-turbo's asm routines and
       
     8  dnl --disable-libjpeg-turbo wasn't passed, use the C compiler as the assembler.
       
     9 -if test -n "$LIBJPEG_TURBO_ARM_ASM" ; then
       
    10 +if test -n "$LIBJPEG_TURBO_ARM_ASM" -o -n "$LIBJPEG_TURBO_ARM64_ASM" ; then
       
    11      echo "Using $AS as the assembler for ARM code."
       
    12      LIBJPEG_TURBO_AS=$AS
       
    13  fi
       
    14 @@ -6252,6 +6252,8 @@ elif test -n "$LIBJPEG_TURBO_X64_ASM"; t
       
    15      AC_DEFINE(LIBJPEG_TURBO_X64_ASM)
       
    16  elif test -n "$LIBJPEG_TURBO_ARM_ASM"; then
       
    17      AC_DEFINE(LIBJPEG_TURBO_ARM_ASM)
       
    18 +elif test -n "$LIBJPEG_TURBO_ARM64_ASM"; then
       
    19 +    AC_DEFINE(LIBJPEG_TURBO_ARM64_ASM)
       
    20  elif test -n "$MOZ_LIBJPEG_TURBO"; then
       
    21      dnl Warn if we're not building the optimized routines, even though the user
       
    22      dnl didn't specify --disable-libjpeg-turbo.