opencv: revert disable sse4.1 and sse4.2 on x86

Due to upstream has fixed the issue [1], revert [3f26c46cbd opencv:
disable sse4.1 and sse4.2 on x86]

[1] https://github.com/opencv/opencv/pull/21628

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Hongxu Jia 2025-07-11 15:41:23 +08:00 committed by Khem Raj
parent 03445131f3
commit 08c7985bba
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -86,9 +86,6 @@ LDFLAGS:append:mips = " -Wl,--no-as-needed -latomic -Wl,--as-needed"
LDFLAGS:append:riscv32 = " -Wl,--no-as-needed -latomic -Wl,--as-needed"
EXTRA_OECMAKE:append:x86 = " -DX86=ON"
# disable sse4.1 and sse4.2 to fix 32bit build failure
# https://github.com/opencv/opencv/issues/21597
EXTRA_OECMAKE:remove:x86 = " -DENABLE_SSE41=1 -DENABLE_SSE42=1"
PACKAGECONFIG ??= "gapi python3 eigen jpeg png tiff v4l libv4l gstreamer samples tbb gphoto2 \
${@bb.utils.contains_any('DISTRO_FEATURES', '${GTK3DISTROFEATURES}', 'gtk', '', d)} \