summaryrefslogtreecommitdiffstats
path: root/src/intel/isl/Makefile.am
diff options
context:
space:
mode:
authorAlejandro Piñeiro <[email protected]>2016-04-27 19:54:40 +0200
committerAlejandro Piñeiro <[email protected]>2016-04-27 20:14:56 +0200
commitb1dcedf393e2464fb70e793b9224c5ad438e2914 (patch)
tree08e2f84af782052a619fae0b95949ef1e9e90fce /src/intel/isl/Makefile.am
parentaef6a6c382f74a164431257eb09eec269773acb3 (diff)
isl: move -lm at the end of tests_ldadd
The test was failing to build with "undefined reference to `roundf'" errors, so Make check on mesa was failing. Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/isl/Makefile.am')
-rw-r--r--src/intel/isl/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/intel/isl/Makefile.am b/src/intel/isl/Makefile.am
index 806934eae5b..1427e7bb033 100644
--- a/src/intel/isl/Makefile.am
+++ b/src/intel/isl/Makefile.am
@@ -110,9 +110,9 @@ check_PROGRAMS = $(TESTS)
# Link tests to lib965_compiler.la for brw_get_device_info().
tests_ldadd = \
- -lm \
libisl.la \
- $(top_builddir)/src/mesa/drivers/dri/i965/libi965_compiler.la
+ $(top_builddir)/src/mesa/drivers/dri/i965/libi965_compiler.la \
+ -lm
tests_isl_surf_get_image_offset_test_SOURCES = \
tests/isl_surf_get_image_offset_test.c