File mpitests-link_to_libm.patch of Package mpitests

---
 osu_benchmarks-3.1.1/makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: osu_benchmarks-3.1.1/makefile
===================================================================
--- osu_benchmarks-3.1.1/makefile.orig	2009-11-15 16:09:58.000000000 +0100
+++ osu_benchmarks-3.1.1/makefile	2014-03-27 18:20:42.824029210 +0100
@@ -19,7 +19,7 @@ mpi2:	$(ALL_BENCHMARKS)
 all:	$(ALL_BENCHMARKS)
 
 osu_bcast: osu_bcast.c
-	$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -lm -o osu_bcast osu_bcast.c $(LDLIBS)
+	$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -lm -o osu_bcast osu_bcast.c -lm $(LDLIBS)
 
 install:
 	test -d $(prefix)/osu_benchmarks || mkdir $(prefix)/osu_benchmarks
openSUSE Build Service is sponsored by