Index: third_party/qcms/google.patch |
diff --git a/third_party/qcms/google.patch b/third_party/qcms/google.patch |
index a41aacf5ed7029342bc87de9c99ed7fa6902f49a..ec26a95f14d7cd34714a9b40ad4c17a6776ef6d7 100644 |
--- a/third_party/qcms/google.patch |
+++ b/third_party/qcms/google.patch |
@@ -748,11 +748,11 @@ index 9a6562b..7312ced 100644 |
-#if defined(__GNUC__) && !defined(__x86_64__) && !defined(__amd64__) |
+/* __force_align_arg_pointer__ is an x86-only attribute, and gcc/clang warns on unused |
-+ * attributes. Don't use this on ARM or AMD64. __has_attribute can detect the presence |
++ * attributes. Don't use this on ARM, AMD64 or MIPS. __has_attribute can detect the presence |
+ * of the attribute but is currently only supported by clang */ |
+#if defined(__has_attribute) |
+#define HAS_FORCE_ALIGN_ARG_POINTER __has_attribute(__force_align_arg_pointer__) |
-+#elif defined(__GNUC__) && !defined(__x86_64__) && !defined(__amd64__) && !defined(__arm__) |
++#elif defined(__GNUC__) && !defined(__x86_64__) && !defined(__amd64__) && !defined(__arm__) && !defined(__mips__) |
+#define HAS_FORCE_ALIGN_ARG_POINTER 1 |
+#else |
+#define HAS_FORCE_ALIGN_ARG_POINTER 0 |