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 <jason@jlekstrand.net>
This commit is contained in:
Alejandro Piñeiro 2016-04-27 19:54:40 +02:00
parent aef6a6c382
commit b1dcedf393
1 changed files with 2 additions and 2 deletions

View File

@ -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