From b1dcedf393e2464fb70e793b9224c5ad438e2914 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alejandro=20Pi=C3=B1eiro?= Date: Wed, 27 Apr 2016 19:54:40 +0200 Subject: [PATCH] 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 --- src/intel/isl/Makefile.am | 4 ++-- 1 file 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 -- 2.30.2