summaryrefslogtreecommitdiff
path: root/benchmarks/lmbench/files/patch-src_Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/lmbench/files/patch-src_Makefile')
-rw-r--r--benchmarks/lmbench/files/patch-src_Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/benchmarks/lmbench/files/patch-src_Makefile b/benchmarks/lmbench/files/patch-src_Makefile
new file mode 100644
index 000000000000..7ade943755eb
--- /dev/null
+++ b/benchmarks/lmbench/files/patch-src_Makefile
@@ -0,0 +1,20 @@
+--- src/Makefile.orig 2007-04-10 12:16:49 UTC
++++ src/Makefile
+@@ -146,7 +146,7 @@ install-target:
+ cp $(EXES) $(BASE)/bin
+ cp $(INCS) $(BASE)/include
+ cp $O/lmbench.a $(BASE)/lib/libmbench.a
+- cd ../doc; env MAKEFLAGS="$(MAKEFLAGS)" make CC="${CC}" OS="${OS}" BASE="$(BASE)" install
++ cd ../doc; env MAKEFLAGS="$(MAKEFLAGS)" ${MAKE} CC="${CC}" OS="${OS}" BASE="$(BASE)" install
+
+
+ # No special handling for all these
+@@ -239,7 +239,7 @@ $O/getopt.o : getopt.c $(INCS)
+ $(COMPILE) -c getopt.c -o $O/getopt.o
+
+ $(UTILS) :
+- -cd ../scripts; make get
++ -cd ../scripts; ${MAKE} get
+
+ # Do not remove the next line, $(MAKE) depend needs it
+ # MAKEDEPEND follows