diff options
Diffstat (limited to 'community/binaryen/dont-enforce-sse.patch')
-rw-r--r-- | community/binaryen/dont-enforce-sse.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/community/binaryen/dont-enforce-sse.patch b/community/binaryen/dont-enforce-sse.patch new file mode 100644 index 0000000000..970477cbd0 --- /dev/null +++ b/community/binaryen/dont-enforce-sse.patch @@ -0,0 +1,12 @@ +Not all CPU architectures support these instructions. +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -92,8 +92,6 @@ + SET(CMAKE_THREAD_PREFER_PTHREAD ON) + FIND_PACKAGE(Threads REQUIRED) + ADD_COMPILE_FLAG("-std=c++11") +- ADD_COMPILE_FLAG("-msse2") +- ADD_COMPILE_FLAG("-mfpmath=sse") + ADD_COMPILE_FLAG("-Wall") + ADD_COMPILE_FLAG("-Werror") + ADD_COMPILE_FLAG("-Wextra") |