i965: Link test programs with gtest before pthreads.
authorMatt Turner <mattst88@gmail.com>
Sun, 22 Feb 2015 06:41:24 +0000 (22:41 -0800)
committerMatt Turner <mattst88@gmail.com>
Mon, 23 Feb 2015 18:41:21 +0000 (10:41 -0800)
Cc: "10.5" <mesa-stable@lists.freedesktop.org>
Bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=540962

src/mesa/drivers/dri/i965/Makefile.am

index 9230a49308bd68c2464b1686c84d677c8218e1c8..235bcfeae025316c918971d203908225fda0b8e8 100644 (file)
@@ -67,32 +67,32 @@ check_PROGRAMS = $(TESTS)
 test_fs_cmod_propagation_SOURCES = \
        test_fs_cmod_propagation.cpp
 test_fs_cmod_propagation_LDADD = \
-       $(TEST_LIBS) \
-       $(top_builddir)/src/gtest/libgtest.la
+       $(top_builddir)/src/gtest/libgtest.la \
+       $(TEST_LIBS)
 
 test_fs_saturate_propagation_SOURCES = \
        test_fs_saturate_propagation.cpp
 test_fs_saturate_propagation_LDADD = \
-       $(TEST_LIBS) \
-       $(top_builddir)/src/gtest/libgtest.la
+       $(top_builddir)/src/gtest/libgtest.la \
+       $(TEST_LIBS)
 
 test_vf_float_conversions_SOURCES = \
        test_vf_float_conversions.cpp
 test_vf_float_conversions_LDADD = \
-       $(TEST_LIBS) \
-       $(top_builddir)/src/gtest/libgtest.la
+       $(top_builddir)/src/gtest/libgtest.la \
+       $(TEST_LIBS)
 
 test_vec4_register_coalesce_SOURCES = \
        test_vec4_register_coalesce.cpp
 test_vec4_register_coalesce_LDADD = \
-        $(TEST_LIBS) \
-        $(top_builddir)/src/gtest/libgtest.la
+        $(top_builddir)/src/gtest/libgtest.la \
+        $(TEST_LIBS)
 
 test_vec4_copy_propagation_SOURCES = \
        test_vec4_copy_propagation.cpp
 test_vec4_copy_propagation_LDADD = \
-        $(TEST_LIBS) \
-        $(top_builddir)/src/gtest/libgtest.la
+        $(top_builddir)/src/gtest/libgtest.la \
+        $(TEST_LIBS)
 
 test_eu_compact_SOURCES = \
        test_eu_compact.c