summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthorpej <thorpej@pkgsrc.org>2002-04-05 03:07:56 +0000
committerthorpej <thorpej@pkgsrc.org>2002-04-05 03:07:56 +0000
commita821e2d39c3fd31e568da0750edfffbb82f207a7 (patch)
treeb991408905adeb5104449a7cf9bcc50282024174
parent2bfbe812cfcf4edf81f161a9a8011e4336da63e4 (diff)
downloadpkgsrc-a821e2d39c3fd31e568da0750edfffbb82f207a7.tar.gz
Account for arm32 -> arm change.
-rw-r--r--benchmarks/lmbench/patches/patch-aa10
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