1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 03:35:38 +03:00
aports/testing/binaryen/dont-enforce-sse.patch

12 lines
378 B
Diff

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")