diff options
author | Rob Herring <[email protected]> | 2016-02-02 14:45:07 -0600 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2016-04-01 13:44:22 +0100 |
commit | 2d9e0f24e1a13648a9bceb03dbfb438e03c81fd7 (patch) | |
tree | 0d7a53f5b4f459156753e66316d80b4b7b7ddd7f /src/mesa/Makefile.sources | |
parent | cdf7c6b83dad7eb6a7600af61403315b02dcf13f (diff) |
Android: fix x86 gallium builds
Builds with gallium enabled fail on x86 with linker error:
external/mesa3d/src/mesa/vbo/vbo_exec_array.c:127: error: undefined reference to '_mesa_uint_array_min_max'
The problem is sse_minmax.c is not included in the libmesa_st_mesa
library. Since the SSE4.1 files are needed for both libmesa_st_mesa
and libmesa_dricore, move SSE4.1 files into a separate static library
that can be used by both.
Cc: "11.1 11.2" <[email protected]>
Signed-off-by: Rob Herring <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/mesa/Makefile.sources')
-rw-r--r-- | src/mesa/Makefile.sources | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/Makefile.sources b/src/mesa/Makefile.sources index 54601a956fd..7425f01273d 100644 --- a/src/mesa/Makefile.sources +++ b/src/mesa/Makefile.sources @@ -587,6 +587,10 @@ X86_64_FILES = \ x86-64/x86-64.h \ x86-64/xform4.S +X86_SSE41_FILES = \ + main/streaming-load-memcpy.c \ + main/sse_minmax.c + SPARC_FILES = \ sparc/sparc.h \ sparc/sparc_clip.S \ |