diff options
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/swr/Makefile.am | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/drivers/swr/Makefile.am b/src/gallium/drivers/swr/Makefile.am index 64950214572..02010727d9b 100644 --- a/src/gallium/drivers/swr/Makefile.am +++ b/src/gallium/drivers/swr/Makefile.am @@ -246,6 +246,7 @@ if HAVE_SWR_AVX lib_LTLIBRARIES += libswrAVX.la libswrAVX_la_CXXFLAGS = \ + $(PTHREAD_CFLAGS) \ $(SWR_AVX_CXXFLAGS) \ -DKNOB_ARCH=KNOB_ARCH_AVX \ $(COMMON_CXXFLAGS) @@ -253,6 +254,9 @@ libswrAVX_la_CXXFLAGS = \ libswrAVX_la_SOURCES = \ $(COMMON_SOURCES) +libswrAVX_la_LIBADD = \ + $(PTHREAD_LIBS) + libswrAVX_la_LDFLAGS = \ $(COMMON_LDFLAGS) endif @@ -260,6 +264,7 @@ endif if HAVE_SWR_AVX2 lib_LTLIBRARIES += libswrAVX2.la libswrAVX2_la_CXXFLAGS = \ + $(PTHREAD_CFLAGS) \ $(SWR_AVX2_CXXFLAGS) \ -DKNOB_ARCH=KNOB_ARCH_AVX2 \ $(COMMON_CXXFLAGS) @@ -267,6 +272,9 @@ libswrAVX2_la_CXXFLAGS = \ libswrAVX2_la_SOURCES = \ $(COMMON_SOURCES) +libswrAVX2_la_LIBADD = \ + $(PTHREAD_LIBS) + libswrAVX2_la_LDFLAGS = \ $(COMMON_LDFLAGS) endif |