diff options
author | thorpej <thorpej> | 2002-04-05 03:07:56 +0000 |
---|---|---|
committer | thorpej <thorpej> | 2002-04-05 03:07:56 +0000 |
commit | cba1b3dc8f22ac055edbdadb9a55a6e0816a3fb1 (patch) | |
tree | b991408905adeb5104449a7cf9bcc50282024174 /benchmarks/lmbench | |
parent | a3cfe108508ff40b276f49a02a5cb5ac403bd3a5 (diff) | |
download | pkgsrc-cba1b3dc8f22ac055edbdadb9a55a6e0816a3fb1.tar.gz |
Account for arm32 -> arm change.
Diffstat (limited to 'benchmarks/lmbench')
-rw-r--r-- | benchmarks/lmbench/patches/patch-aa | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/benchmarks/lmbench/patches/patch-aa b/benchmarks/lmbench/patches/patch-aa index 96d36edd5f0..997160a4b18 100644 --- a/benchmarks/lmbench/patches/patch-aa +++ b/benchmarks/lmbench/patches/patch-aa @@ -1,7 +1,7 @@ -$NetBSD: patch-aa,v 1.2 2000/11/08 10:13:41 abs Exp $ +$NetBSD: patch-aa,v 1.3 2002/04/05 03:07:56 thorpej Exp $ --- src/Makefile.orig Fri Jul 31 12:55:18 1998 -+++ src/Makefile ++++ src/Makefile Thu Apr 4 18:37:33 2002 @@ -30,7 +30,7 @@ O= ../bin/unknown D= ../doc @@ -20,7 +20,7 @@ $NetBSD: patch-aa,v 1.2 2000/11/08 10:13:41 abs Exp $ Wall: @if [ ! -d $(BINDIR) ]; then mkdir -p $(BINDIR); fi -@@ -181,8 +181,13 @@ +@@ -181,8 +181,17 @@ $O/flushdisk: flushdisk.c $(COMPILE) -DMAIN -o $O/flushdisk flushdisk.c @@ -29,7 +29,11 @@ $NetBSD: patch-aa,v 1.2 2000/11/08 10:13:41 abs Exp $ +ifeq ($(MACHINE_ARCH),arm32) + $(CC) $(SYS5) $(CF) $(CPPFLAGS) $(LDFLAGS) -o $O/mhz mhz.c $O/lmbench.a $(LDLIBS) -lm +else ++ifeq ($(MACHINE_ARCH),arm) ++ $(CC) $(SYS5) $(CF) $(CPPFLAGS) $(LDFLAGS) -o $O/mhz mhz.c $O/lmbench.a $(LDLIBS) -lm ++else $(COMPILE) -o $O/mhz mhz.c $O/lmbench.a $(LDLIBS) -lm ++endif +endif $O/lat_ctx: lat_ctx.c timing.h stats.h bench.h $O/lmbench.a |