android, dricore: undefined reference to _mesa_streaming_load_memcpy
authorAdrian Negreanu <adrian.m.negreanu@intel.com>
Fri, 6 Jun 2014 09:16:12 +0000 (12:16 +0300)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 9 Jun 2014 21:51:44 +0000 (22:51 +0100)
_mesa_streaming_load_memcpy is defined in main/streaming-load-memcpy.c
I'm adding it to the dricore lib

Cc: "10.1 10.2" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Adrian Negreanu <adrian.m.negreanu@intel.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
src/mesa/Android.libmesa_dricore.mk

index 1332ebf68c1eedc1ee25348ccf883111ca62bc17..217f6498a79f1a8155f43f05a2c33c2627f43180 100644 (file)
@@ -47,6 +47,11 @@ ifeq ($(TARGET_ARCH),x86)
 endif # x86
 endif # MESA_ENABLE_ASM
 
+ifeq ($(ARCH_X86_HAVE_SSE4_1),true)
+LOCAL_SRC_FILES += \
+       $(SRCDIR)main/streaming-load-memcpy.c
+endif
+
 LOCAL_C_INCLUDES := \
        $(call intermediates-dir-for STATIC_LIBRARIES,libmesa_program,,) \
        $(MESA_TOP)/src/mapi \