android: pass sse4.1 flag as appropriate
authorHarish Krupo <harish.krupo.kps@intel.com>
Tue, 28 Mar 2017 18:38:12 +0000 (04:08 +0930)
committerTapani Pälli <tapani.palli@intel.com>
Thu, 30 Mar 2017 05:02:49 +0000 (08:02 +0300)
We have functions which depend on sse4.1 support but we didnt pass
the right compile flag for it. This patch fixes it.

Signed-off-by: Kalyan Kondapally <kalyan.kondapally@intel.com>
Signed-off-by: Harish Krupo <harish.krupo.kps@intel.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/mesa/Android.libmesa_sse41.mk

index 8562da601933ca7d8675a24f60fbd635e54fa3da..da40f43df69f7ee716f6c17c9c7855c4757ff0b3 100644 (file)
@@ -33,6 +33,9 @@ LOCAL_MODULE := libmesa_sse41
 LOCAL_SRC_FILES += \
        $(X86_SSE41_FILES)
 
+LOCAL_CFLAGS := \
+       -msse4.1
+
 LOCAL_C_INCLUDES := \
        $(MESA_TOP)/src/mapi \
        $(MESA_TOP)/src/gallium/include \