aboutsummaryrefslogtreecommitdiffstats
path: root/community/binaryen/dont-enforce-sse.patch
blob: 970477cbd0fe47e8fadedab6d9f112bf61f64100 (plain)
1
2
3
4
5
6
7
8
9
10
11
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")