aboutsummaryrefslogtreecommitdiffstats
path: root/community/binaryen/dont-enforce-sse.patch
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-04-15 01:28:21 +0200
committerJakub Jirutka <jakub@jirutka.cz>2017-04-15 01:28:21 +0200
commit5c0d4d7203965cf8c0ed0a393742c7c3be788504 (patch)
tree0259e7d9a85c26ff888a8dc9b75efd8812ea61fe /community/binaryen/dont-enforce-sse.patch
parent6020727d4b626472aac1a38a7ca0ed6959f9a85f (diff)
downloadaports-5c0d4d7203965cf8c0ed0a393742c7c3be788504.tar.bz2
aports-5c0d4d7203965cf8c0ed0a393742c7c3be788504.tar.xz
community/binaryen: move from testing
Diffstat (limited to 'community/binaryen/dont-enforce-sse.patch')
-rw-r--r--community/binaryen/dont-enforce-sse.patch12
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")