freebsd-ports/benchmarks/unixbench/files/patch-Makefile
Stefan Eßer 9a369a50d0 Update bytebench-3.1 to unixbench-4.1.0, based on patches submitted
by SHIMAOKA Shunsuke, with some modifications to the Makefile by me.
The bytebench port was repo-copied to unixbench, before, to preserve
its history.

Submitted by: SHIMAOKA Shunsuke (shimaoka at st dot tutrp dot tut dot ac dot jp)
2005-01-08 22:10:44 +00:00

25 lines
667 B
Text

--- 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