Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/firefox/fix-i686-build-moz-1792159.patch
blob: 592dcad93eb4995f26feb0e32b443f0755e6fe29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- a/js/src/jit/shared/AtomicOperations-shared-jit.cpp
+++ b/js/src/jit/shared/AtomicOperations-shared-jit.cpp
@@ -5,4 +5,9 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+// bug 1792159
+#if defined(__i386__) && defined(__GNUC__) && !defined(__clang__)
+#  include "../../../mfbt/Attributes.h"
+#endif
+
 #include "jit/AtomicOperations.h"
 
--- a/config/check_spidermonkey_style.py
+++ b/config/check_spidermonkey_style.py
@@ -68,2 +68,3 @@
         "jit/AtomicOperationsGenerated.h",  # generated in $OBJDIR
+        "../../../mfbt/Attributes.h",  # unrecognized path
         "jit/CacheIROpsGenerated.h",  # generated in $OBJDIR