[Mesa-dev] [PATCH 8/8] android, dricore: undefined reference to _mesa_streaming_load_memcpy

Adrian Negreanu groleo at gmail.com
Fri Jun 6 02:16:12 PDT 2014


From: Adrian Negreanu <adrian.m.negreanu at intel.com>

_mesa_streaming_load_memcpy is defined in main/streaming-load-memcpy.c
I'm adding it to the dricore lib

Signed-off-by: Adrian Negreanu <adrian.m.negreanu at intel.com>
---
 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 1332ebf..217f649 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.0.0.rc4



More information about the mesa-dev mailing list