summaryrefslogtreecommitdiff
path: root/tune
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2012-12-31 15:42:02 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2012-12-31 15:42:02 +0000
commitb6c230b2f203a1311ad4d3d83f7bc888df991b19 (patch)
tree76d6e754053fa0bf06c921542485b0311fad8283 /tune
parent689ebb0b774f6411424aefcb2c53da3312840601 (diff)
downloadmpfr-b6c230b2f203a1311ad4d3d83f7bc888df991b19.tar.gz
Tuning: reverted changeset r8444 and applied patch by Patrick PĂ©lissier
for GMP 5.1.0 to link against librt conditionally. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@8445 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tune')
-rw-r--r--tune/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/tune/Makefile.am b/tune/Makefile.am
index d9d094a07..c9f4a2c12 100644
--- a/tune/Makefile.am
+++ b/tune/Makefile.am
@@ -12,15 +12,15 @@
EXTRA_PROGRAMS = tuneup speed bidimensional_sample
tuneup_SOURCES = tuneup.c
-tuneup_LDADD = -lspeed -lrt $(top_builddir)/src/libmpfr.la
+tuneup_LDADD = -lspeed $(top_builddir)/src/libmpfr.la $(TUNE_LIBS)
tuneup_LDFLAGS = -static
speed_SOURCES = speed.c
-speed_LDADD = -lspeed $(top_builddir)/src/libmpfr.la
+speed_LDADD = -lspeed $(top_builddir)/src/libmpfr.la $(TUNE_LIBS)
speed_LDFLAGS = -static
bidimensional_sample_SOURCES = bidimensional_sample.c
-bidimensional_sample_LDADD = -lspeed $(top_builddir)/src/libmpfr.la
+bidimensional_sample_LDADD = -lspeed $(top_builddir)/src/libmpfr.la $(TUNE_LIBS)
bidimensional_sample_LDFLAGS = -static
AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_builddir)/src