aboutsummaryrefslogtreecommitdiffstats
path: root/community/chromium/chromium-gcc-r1.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/chromium/chromium-gcc-r1.patch')
-rw-r--r--community/chromium/chromium-gcc-r1.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/community/chromium/chromium-gcc-r1.patch b/community/chromium/chromium-gcc-r1.patch
new file mode 100644
index 0000000000..6979b11451
--- /dev/null
+++ b/community/chromium/chromium-gcc-r1.patch
@@ -0,0 +1,14 @@
+diff --git a/base/numerics/safe_math_shared_impl.h b/base/numerics/safe_math_shared_impl.h
+index 99f230ce7e9a..de2415d402f5 100644
+--- base/numerics/safe_math_shared_impl.h
++++ base/numerics/safe_math_shared_impl.h
+@@ -21,8 +21,7 @@
+ #if !defined(__native_client__) && \
+ ((defined(__clang__) && \
+ ((__clang_major__ > 3) || \
+- (__clang_major__ == 3 && __clang_minor__ >= 4))) || \
+- (defined(__GNUC__) && __GNUC__ >= 5))
++ (__clang_major__ == 3 && __clang_minor__ >= 4))))
+ #include "base/numerics/safe_math_clang_gcc_impl.h"
+ #define BASE_HAS_OPTIMIZED_SAFE_MATH (1)
+ #else