aboutsummaryrefslogtreecommitdiffstats
path: root/community/binaryen/ignore-type-limits-error.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/binaryen/ignore-type-limits-error.patch')
-rw-r--r--community/binaryen/ignore-type-limits-error.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/binaryen/ignore-type-limits-error.patch b/community/binaryen/ignore-type-limits-error.patch
new file mode 100644
index 0000000000..a18a137cfb
--- /dev/null
+++ b/community/binaryen/ignore-type-limits-error.patch
@@ -0,0 +1,11 @@
+This is a temporary workaround for https://github.com/WebAssembly/binaryen/issues/1059.
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -150,6 +150,7 @@
+ endif ()
+ ADD_COMPILE_FLAG("-Wall")
+ ADD_COMPILE_FLAG("-Werror")
++ ADD_COMPILE_FLAG("-Wno-error=type-limits")
+ ADD_COMPILE_FLAG("-Wextra")
+ ADD_COMPILE_FLAG("-Wno-unused-parameter")
+ ADD_COMPILE_FLAG("-fno-omit-frame-pointer")