Mesa (master): isl: move -lm at the end of tests_ldadd
Alejandro Pinheiro
apinheiro at kemper.freedesktop.org
Wed Apr 27 18:15:23 UTC 2016
Module: Mesa
Branch: master
Commit: b1dcedf393e2464fb70e793b9224c5ad438e2914
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b1dcedf393e2464fb70e793b9224c5ad438e2914
Author: Alejandro Piñeiro <apinheiro at igalia.com>
Date: Wed Apr 27 19:54:40 2016 +0200
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 at jlekstrand.net>
---
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 806934e..1427e7b 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
More information about the mesa-commit
mailing list