opencv: enable SSE4.1 SSE4.2 support when available
authorSamuel Martin <s.martin49@gmail.com>
Tue, 22 Apr 2014 23:15:48 +0000 (01:15 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 16 Jul 2014 20:57:32 +0000 (22:57 +0200)
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/opencv/opencv.mk

index d1620a26390b62e0a76a1421b5d1027e8e3aa838..c3a6bea65bd246a5b9280ce6a9f220566a7fbc0f 100644 (file)
@@ -77,6 +77,8 @@ OPENCV_CONF_OPT += \
        -DENABLE_SSE=$(if $(BR2_X86_CPU_HAS_SSE),ON,OFF)     \
        -DENABLE_SSE2=$(if $(BR2_X86_CPU_HAS_SSE2),ON,OFF)   \
        -DENABLE_SSE3=$(if $(BR2_X86_CPU_HAS_SSE3),ON,OFF)   \
+       -DENABLE_SSE41=$(if $(BR2_X86_CPU_HAS_SSE4),ON,OFF)  \
+       -DENABLE_SSE42=$(if $(BR2_X86_CPU_HAS_SSE42),ON,OFF) \
        -DENABLE_SSSE3=$(if $(BR2_X86_CPU_HAS_SSSE3),ON,OFF)
 
 # Cuda stuff