isl: fix automake build when sse41 is not supported
authorTapani Pälli <tapani.palli@intel.com>
Fri, 15 Mar 2019 10:32:09 +0000 (12:32 +0200)
committerTapani Pälli <tapani.palli@intel.com>
Mon, 18 Mar 2019 06:51:57 +0000 (08:51 +0200)
Fixes: 864cc419eb0a41882762 "intel/isl: move tiled_memcpy static libs from i965 to isl"
Cc: mesa-stable@lists.freedesktop.org
Reported-by: Milav Soni <milav.soni@teqdiligent.com>
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
src/intel/Makefile.isl.am

index a6733f3ba8e372c7fa7a2f8e75eb4669a395f96c..dcb9d3ad6fce1747c1b380717b84903a2931731a 100644 (file)
@@ -33,12 +33,15 @@ ISL_GEN_LIBS =                                           \
 
 noinst_LTLIBRARIES += $(ISL_GEN_LIBS) \
                       isl/libisl.la \
-                      libisl_tiled_memcpy.la \
-                      libisl_tiled_memcpy_sse41.la
+                      libisl_tiled_memcpy.la
 
 isl_libisl_la_LIBADD = $(ISL_GEN_LIBS) \
-                       libisl_tiled_memcpy.la \
-                       libisl_tiled_memcpy_sse41.la
+                       libisl_tiled_memcpy.la
+
+if SSE41_SUPPORTED
+isl_libisl_la_LIBADD += libisl_tiled_memcpy_sse41.la
+noinst_LTLIBRARIES += libisl_tiled_memcpy_sse41.la
+endif
 
 isl_libisl_la_SOURCES = $(ISL_FILES) $(ISL_GENERATED_FILES)