Now it needs libtirpc to provide rpc/rpc.h, as it seems it is gone from libc. We also fix the install target so it installs the additional benchmarks. Reviewed-by: Aleix Boné <abonerib@bsc.es> Tested-by: Aleix Boné <abonerib@bsc.es>
11 lines
399 B
Diff
11 lines
399 B
Diff
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -144,6 +144,7 @@ install-target:
|
|
if [ ! -d $(BASE)/include ]; then mkdir $(BASE)/include; fi
|
|
if [ ! -d $(BASE)/lib ]; then mkdir $(BASE)/lib; fi
|
|
cp $(EXES) $(BASE)/bin
|
|
+ cp $(OPT_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
|