Package-Manager: Portage-2.3.6, Repoman-2.3.1
--- /dev/null
+--- a/cmake/OpenCVCompilerOptions.cmake 2017-07-22 13:26:51.178960091 +0200
++++ b/cmake/OpenCVCompilerOptions.cmake 2017-07-22 13:27:47.238961469 +0200
+@@ -176,8 +176,6 @@
+ endif()
+ if(ENABLE_SSE2)
+ add_extra_compiler_option(-msse2)
+- elseif(X86 OR X86_64)
+- add_extra_compiler_option(-mno-sse2)
+ endif()
+ if(ARM)
+ add_extra_compiler_option("-mfp16-format=ieee")
"${FILESDIR}/${P}-vtk.patch"
"${FILESDIR}/${P}-gcc-6.0.patch"
"${FILESDIR}/${PN}-3.2.0-fix_ussage_cpu_instructions.patch"
+ "${FILESDIR}/${P}-cpu-mno-sse2.patch"
)
pkg_pretend() {