-- mesa-17.2.8/src/compiler/Makefile.glsl.am
++ mesa-17.2.8/src/compiler/Makefile.glsl.am
glsl_compiler_LDADD = \
glsl/libstandalone.la \
$(CLOCK_LIB)
glsl_compiler_LDFLAGS = \
$(AM_LDFLAGS) \
-Wl,--push-state,--no-as-needed -Wl,-lpthread -Wl,--pop-state
glsl_glsl_test_SOURCES = \
glsl/test.cpp \