From ed49812c442647110b7861852d045e1bc6c2c930 Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet Date: Thu, 17 Oct 2019 10:54:52 +0200 Subject: [PATCH] Lower CPU_BASELINE from SSE3 to SSE2 --- opencv.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/opencv.spec b/opencv.spec index 29ee446..28bfed5 100644 --- a/opencv.spec +++ b/opencv.spec @@ -276,6 +276,9 @@ popd -DWITH_UNICAP=ON \ -DCMAKE_SKIP_RPATH=ON \ -DWITH_CAROTENE=OFF \ +%ifarch x86_64 %{ix86} + -DCPU_BASELINE=SSE2 \ +%endif -DENABLE_PRECOMPILED_HEADERS=OFF \ -DCMAKE_BUILD_TYPE=ReleaseWithDebInfo \ %{?with_java: -DBUILD_opencv_java=ON \