summaryrefslogtreecommitdiff
path: root/benchmarks/unixbench/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/unixbench/files/patch-Makefile')
-rw-r--r--benchmarks/unixbench/files/patch-Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/benchmarks/unixbench/files/patch-Makefile b/benchmarks/unixbench/files/patch-Makefile
new file mode 100644
index 000000000000..3194d354c184
--- /dev/null
+++ b/benchmarks/unixbench/files/patch-Makefile
@@ -0,0 +1,25 @@
+--- Makefile.orig Sun Dec 19 01:29:33 2004
++++ Makefile Sun Dec 19 01:32:06 2004
+@@ -30,8 +30,9 @@
+ ##############################################################################
+ ID="@(#)Makefile:3.9 -- 5/15/91 19:30:15";
+ SHELL = /bin/sh
+-#HZ = ???? #(read from environment)
+-CFLAGS = -DTIME
++HZ = 128
++CFLAGS ?= -O -finline-functions -funrool-loops -fomit-frame-pointer
++CFLAGS+=-DTIME
+ CC=gcc
+
+ ## For Linux 486/Pentium, GCC 2.7.x and 2.8.x
+@@ -60,8 +61,8 @@
+ PROGDIR = ./pgms
+ SRCDIR = ./src
+ TESTDIR = ./testdir
+-RESULTDIR = ./results
+-TMPDIR = ./tmp
++#RESULTDIR = ./results
++#TMPDIR = /var/tmp
+ # other directories
+ INCLDIR = /usr/include
+ LIBDIR = /lib