summaryrefslogtreecommitdiffstats
path: root/debian/patches/debian-hacks/Avoid-using-vmrs-vmsr-on-armel.patch
blob: ffe17912cae34748257d6d0e964c6c19afd360ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Mike Hommey <mh@glandium.org>
Date: Tue, 22 May 2018 07:51:56 +0900
Subject: Avoid using vmrs/vmsr on armel

---
 dom/media/webaudio/blink/DenormalDisabler.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dom/media/webaudio/blink/DenormalDisabler.h b/dom/media/webaudio/blink/DenormalDisabler.h
index 646482b..8803a7d 100644
--- a/dom/media/webaudio/blink/DenormalDisabler.h
+++ b/dom/media/webaudio/blink/DenormalDisabler.h
@@ -45,7 +45,7 @@ namespace WebCore {
 #  define HAVE_DENORMAL 1
 #endif
 
-#if defined(__arm__) || defined(__aarch64__)
+#if (defined(__arm__) && !defined(__SOFTFP__)) || defined(__aarch64__)
 #  define HAVE_DENORMAL 1
 #endif