summaryrefslogtreecommitdiff
path: root/librewolf/debian/patches/debian-hacks/Avoid-using-vmrs-vmsr-on-armel.patch
blob: 9a57898132b1385f7ed1231977194dbcd1b43a27 (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 51f56bd..ed06a09 100644
--- a/dom/media/webaudio/blink/DenormalDisabler.h
+++ b/dom/media/webaudio/blink/DenormalDisabler.h
@@ -44,7 +44,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
 
bgstack15