From: Alejandro PiƱeiro Date: Wed, 27 Apr 2016 17:54:40 +0000 (+0200) Subject: isl: move -lm at the end of tests_ldadd X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b1dcedf393e2464fb70e793b9224c5ad438e2914;p=mesa.git 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 --- 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