2f435219ac
* MFSA 2012-13/CVE-2012-0455 (bmo#704354) XSS with Drag and Drop and Javascript: URL * MFSA 2012-14/CVE-2012-0456/CVE-2012-0457 (bmo#711653, #720103) SVG issues found with Address Sanitizer * MFSA 2012-15/CVE-2012-0451 (bmo#717511) XSS with multiple Content Security Policy headers * MFSA 2012-16/CVE-2012-0458 Escalation of privilege with Javascript: URL as home page * MFSA 2012-17/CVE-2012-0459 (bmo#723446) Crash when accessing keyframe cssText after dynamic modification * MFSA 2012-18/CVE-2012-0460 (bmo#727303) window.fullScreen writeable by untrusted content * MFSA 2012-19/CVE-2012-0461/CVE-2012-0462/CVE-2012-0464/ CVE-2012-0463 Miscellaneous memory safety hazards - update enigmail to 1.4 - added KDE integration patches (bnc#749440) - update enigmail to 1.3.99 (1.4a1pre) OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaThunderbird?expand=0&rev=162
142 lines
4.2 KiB
Diff
142 lines
4.2 KiB
Diff
# HG changeset patch
|
|
# User Joop Boonen <joop.boonen@opensuse.org>
|
|
# Parent 5f38d3aa0414fe0ac7ff1f0b47da44069e7ccdda
|
|
Add configure option to allow disabling of neon.
|
|
|
|
diff --git a/configure.in b/configure.in
|
|
--- a/configure.in
|
|
+++ b/configure.in
|
|
@@ -1726,41 +1726,47 @@ if test -n "$all_flags"; then
|
|
ASFLAGS="$ASFLAGS $all_flags"
|
|
if test -n "$thumb_flag"; then
|
|
LDFLAGS="$LDFLAGS $thumb_flag"
|
|
fi
|
|
fi
|
|
|
|
AC_SUBST(MOZ_THUMB2)
|
|
|
|
-if test "$CPU_ARCH" = "arm"; then
|
|
- AC_MSG_CHECKING(for ARM SIMD support in compiler)
|
|
- # We try to link so that this also fails when
|
|
- # building with LTO.
|
|
- AC_TRY_LINK([],
|
|
+MOZ_ARG_DISABLE_BOOL(neon,
|
|
+[ --disable-neon Disable neon extensions],
|
|
+ NS_DISABLE_NEON=1,
|
|
+ NS_DISABLE_NEON= )
|
|
+if test "$NS_DISABLE_NEON" != "1"; then
|
|
+ if test "$CPU_ARCH" = "arm"; then
|
|
+ AC_MSG_CHECKING(for ARM SIMD support in compiler)
|
|
+ # We try to link so that this also fails when
|
|
+ # building with LTO.
|
|
+ AC_TRY_LINK([],
|
|
[asm("uqadd8 r1, r1, r2");],
|
|
result="yes", result="no")
|
|
- AC_MSG_RESULT("$result")
|
|
- if test "$result" = "yes"; then
|
|
+ AC_MSG_RESULT("$result")
|
|
+ if test "$result" = "yes"; then
|
|
AC_DEFINE(HAVE_ARM_SIMD)
|
|
HAVE_ARM_SIMD=1
|
|
- fi
|
|
-
|
|
- AC_MSG_CHECKING(for ARM NEON support in compiler)
|
|
- # We try to link so that this also fails when
|
|
- # building with LTO.
|
|
- AC_TRY_LINK([],
|
|
+ fi
|
|
+
|
|
+ AC_MSG_CHECKING(for ARM NEON support in compiler)
|
|
+ # We try to link so that this also fails when
|
|
+ # building with LTO.
|
|
+ AC_TRY_LINK([],
|
|
[asm(".fpu neon\n vadd.i8 d0, d0, d0");],
|
|
result="yes", result="no")
|
|
- AC_MSG_RESULT("$result")
|
|
- if test "$result" = "yes"; then
|
|
+ AC_MSG_RESULT("$result")
|
|
+ if test "$result" = "yes"; then
|
|
AC_DEFINE(HAVE_ARM_NEON)
|
|
HAVE_ARM_NEON=1
|
|
- fi
|
|
-fi # CPU_ARCH = arm
|
|
+ fi
|
|
+ fi # CPU_ARCH = arm
|
|
+fi
|
|
|
|
AC_SUBST(HAVE_ARM_SIMD)
|
|
AC_SUBST(HAVE_ARM_NEON)
|
|
|
|
dnl =================================================================
|
|
dnl Set up and test static assertion macros used to avoid AC_TRY_RUN,
|
|
dnl which is bad when cross compiling.
|
|
dnl =================================================================
|
|
diff --git a/js/src/configure.in b/js/src/configure.in
|
|
--- a/js/src/configure.in
|
|
+++ b/js/src/configure.in
|
|
@@ -1664,41 +1664,47 @@ if test -n "$all_flags"; then
|
|
ASFLAGS="$ASFLAGS $all_flags"
|
|
if test -n "$thumb_flag"; then
|
|
LDFLAGS="$LDFLAGS $thumb_flag"
|
|
fi
|
|
fi
|
|
|
|
AC_SUBST(MOZ_THUMB2)
|
|
|
|
-if test "$CPU_ARCH" = "arm"; then
|
|
- AC_MSG_CHECKING(for ARM SIMD support in compiler)
|
|
- # We try to link so that this also fails when
|
|
- # building with LTO.
|
|
- AC_TRY_LINK([],
|
|
+MOZ_ARG_DISABLE_BOOL(neon,
|
|
+[ --disable-neon Disable neon extensions],
|
|
+ NS_DISABLE_NEON=1,
|
|
+ NS_DISABLE_NEON= )
|
|
+if test "$NS_DISABLE_NEON" != "1"; then
|
|
+ if test "$CPU_ARCH" = "arm"; then
|
|
+ AC_MSG_CHECKING(for ARM SIMD support in compiler)
|
|
+ # We try to link so that this also fails when
|
|
+ # building with LTO.
|
|
+ AC_TRY_LINK([],
|
|
[asm("uqadd8 r1, r1, r2");],
|
|
result="yes", result="no")
|
|
- AC_MSG_RESULT("$result")
|
|
- if test "$result" = "yes"; then
|
|
+ AC_MSG_RESULT("$result")
|
|
+ if test "$result" = "yes"; then
|
|
AC_DEFINE(HAVE_ARM_SIMD)
|
|
HAVE_ARM_SIMD=1
|
|
- fi
|
|
-
|
|
- AC_MSG_CHECKING(for ARM NEON support in compiler)
|
|
- # We try to link so that this also fails when
|
|
- # building with LTO.
|
|
- AC_TRY_LINK([],
|
|
+ fi
|
|
+
|
|
+ AC_MSG_CHECKING(for ARM NEON support in compiler)
|
|
+ # We try to link so that this also fails when
|
|
+ # building with LTO.
|
|
+ AC_TRY_LINK([],
|
|
[asm(".fpu neon\n vadd.i8 d0, d0, d0");],
|
|
result="yes", result="no")
|
|
- AC_MSG_RESULT("$result")
|
|
- if test "$result" = "yes"; then
|
|
+ AC_MSG_RESULT("$result")
|
|
+ if test "$result" = "yes"; then
|
|
AC_DEFINE(HAVE_ARM_NEON)
|
|
HAVE_ARM_NEON=1
|
|
- fi
|
|
-fi # CPU_ARCH = arm
|
|
+ fi
|
|
+ fi # CPU_ARCH = arm
|
|
+fi
|
|
|
|
AC_SUBST(HAVE_ARM_SIMD)
|
|
AC_SUBST(HAVE_ARM_NEON)
|
|
|
|
dnl =================================================================
|
|
dnl Set up and test static assertion macros used to avoid AC_TRY_RUN,
|
|
dnl which is bad when cross compiling.
|
|
dnl =================================================================
|