1From 182a5d3dba3f440bbf35551da6d21ab1c990eb58 Mon Sep 17 00:00:00 2001 2From: Noor Ahsan <noor_ahsan@mentor.com> 3Date: Mon, 29 Aug 2011 16:17:51 +0000 4Subject: [PATCH] lmbench: Add version 3.0-a9 (initial recipe) 5 6In some cases the host may have too old of a ranlib to work. Since it's 7not exactly a great idea to not be using the cross ranlib anyhow, fix the 8Makefile so we can override ranlib and then override it 9 10Upstream-Status: Inappropriate [build system specific change] 11 12--- 13 src/Makefile | 3 ++- 14 1 file changed, 2 insertions(+), 1 deletion(-) 15 16diff --git a/src/Makefile b/src/Makefile 17index 4962815..c7a8c79 100644 18--- a/src/Makefile 19+++ b/src/Makefile 20@@ -38,6 +38,7 @@ CC=`../scripts/compiler` 21 MAKE=`../scripts/make` 22 AR=ar 23 ARCREATE=cr 24+RANLIB=ranlib 25 26 # base of installation location 27 BASE=/usr/local 28@@ -217,7 +218,7 @@ $O/lmbench : ../scripts/lmbench version.h 29 $O/lmbench.a: $(LIBOBJS) 30 /bin/rm -f $O/lmbench.a 31 $(AR) $(ARCREATE) $O/lmbench.a $(LIBOBJS) 32- -ranlib $O/lmbench.a 33+ -$(RANLIB) $O/lmbench.a 34 35 $O/lib_timing.o : lib_timing.c $(INCS) 36 $(COMPILE) -c lib_timing.c -o $O/lib_timing.o 37