summaryrefslogtreecommitdiff
path: root/benchmarks/ubench/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/ubench/patches/patch-aa')
-rw-r--r--benchmarks/ubench/patches/patch-aa29
1 files changed, 29 insertions, 0 deletions
diff --git a/benchmarks/ubench/patches/patch-aa b/benchmarks/ubench/patches/patch-aa
new file mode 100644
index 00000000000..20e9762a1ce
--- /dev/null
+++ b/benchmarks/ubench/patches/patch-aa
@@ -0,0 +1,29 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/09/03 05:57:45 xtraeme Exp $
+
+--- Makefile.orig 2005-09-03 07:50:21.000000000 +0200
++++ Makefile 2005-09-03 07:51:42.000000000 +0200
+@@ -8,11 +8,11 @@
+ ###############################################################################
+
+ #DEFINES=-DDEBUG
+-INSTALLDIR= /usr/local/bin
++INSTALLDIR=/usr/local/bin
+
+-CC = gcc
+-CFLAGS = -O2 -m486 -Wall -malign-loops=2 -malign-jumps=2 -malign-functions=2 -fomit-frame-pointer
+-LDFLAGS = -s -lm
++#CC = gcc
++#CFLAGS = -O2 -m486 -Wall -malign-loops=2 -malign-jumps=2 -malign-functions=2 -fomit-frame-pointer
++LDFLAGS += -s -lm
+ INCLUDES = -I.
+
+ objects = signals.o cpubench.o membench.o ubench.o
+@@ -29,7 +29,7 @@
+ default: ubench
+
+ install: ubench
+- install -c -m 0555 ubench $(INSTALLDIR)
++ $(BSD_INSTALL_PROGRAM) ubench $(INSTALLDIR)
+
+ utime: $(utimeobjects)
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^