From 357a8b6f334da9e78d9cadebb8d729a0d1d38c3d Mon Sep 17 00:00:00 2001 From: Adrian Negreanu Date: Fri, 6 Jun 2014 12:16:12 +0300 Subject: [PATCH] android, dricore: undefined reference to _mesa_streaming_load_memcpy _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" Signed-off-by: Adrian Negreanu Reviewed-by: Emil Velikov Reviewed-by: Juha-Pekka Heikkila --- src/mesa/Android.libmesa_dricore.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/mesa/Android.libmesa_dricore.mk b/src/mesa/Android.libmesa_dricore.mk index 1332ebf68c1..217f6498a79 100644 --- a/src/mesa/Android.libmesa_dricore.mk +++ b/src/mesa/Android.libmesa_dricore.mk @@ -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 \ -- 2.30.2