summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/swr
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2017-07-21 16:49:11 +0100
committerEmil Velikov <[email protected]>2017-07-24 10:23:45 +0100
commit9fd23435c29a81df41429ce1003047835b6649ab (patch)
treed23498aabafad368c4c7dda96986e887ebee0f80 /src/gallium/drivers/swr
parent33d397ada50a1d1f485205e847003dc48146ec19 (diff)
swr: don't forget to link KNL/SKX against pthreads
Analogous to previous commit but for the KNL/SKX backends. Cc: Bruce Cherniak <[email protected]> Cc: Tim Rowley <[email protected]> Cc: Laurent Carlier <[email protected]> Fixes: 1cb5a6061ce ("configure/swr: add KNL and SKX architecture targets") Signed-off-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium/drivers/swr')
-rw-r--r--src/gallium/drivers/swr/Makefile.am8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/drivers/swr/Makefile.am b/src/gallium/drivers/swr/Makefile.am
index 02010727d9b..bc7abad06af 100644
--- a/src/gallium/drivers/swr/Makefile.am
+++ b/src/gallium/drivers/swr/Makefile.am
@@ -283,6 +283,7 @@ if HAVE_SWR_KNL
lib_LTLIBRARIES += libswrKNL.la
libswrKNL_la_CXXFLAGS = \
+ $(PTHREAD_CFLAGS) \
$(SWR_KNL_CXXFLAGS) \
-DKNOB_ARCH=KNOB_ARCH_AVX512 -DAVX512F_STRICT \
$(COMMON_CXXFLAGS)
@@ -290,6 +291,9 @@ libswrKNL_la_CXXFLAGS = \
libswrKNL_la_SOURCES = \
$(COMMON_SOURCES)
+libswrKNL_la_LIBADD = \
+ $(PTHREAD_LIBS)
+
libswrKNL_la_LDFLAGS = \
$(COMMON_LDFLAGS)
endif
@@ -298,6 +302,7 @@ if HAVE_SWR_SKX
lib_LTLIBRARIES += libswrSKX.la
libswrSKX_la_CXXFLAGS = \
+ $(PTHREAD_CFLAGS) \
$(SWR_SKX_CXXFLAGS) \
-DKNOB_ARCH=KNOB_ARCH_AVX512 \
$(COMMON_CXXFLAGS)
@@ -305,6 +310,9 @@ libswrSKX_la_CXXFLAGS = \
libswrSKX_la_SOURCES = \
$(COMMON_SOURCES)
+libswrSKX_la_LIBADD = \
+ $(PTHREAD_LIBS)
+
libswrSKX_la_LDFLAGS = \
$(COMMON_LDFLAGS)
endif