ports/benchmarks/unixbench/files/patch-Makefile
Luca Pizzamiglio 1c9863b704 benchmarks/unixbench: updating to version 5.1.3
While I'm here:
* updating MAINTAINER entry
* adding the proper dependencies

Reviewed by:	mat
Approved by:	olivier (mentor)
Differential Revision:	https://reviews.freebsd.org/D12224
2017-09-05 07:53:13 +00:00

46 lines
1.4 KiB
Text

--- Makefile.orig 2015-06-04 17:20:18 UTC
+++ Makefile
@@ -38,7 +38,7 @@
##############################################################################
SHELL = /bin/sh
-
+HZ = 128
# GRAPHICS TESTS: Uncomment the definition of "GRAPHIC_TESTS" to enable
# the building of the graphics benchmarks. This will require the
# X11 libraries on your system.
@@ -53,7 +53,7 @@ GL_LIBS = -lGL -lXext -lX11
# COMPILER CONFIGURATION: Set "CC" to the name of the compiler to use
# to build the binary benchmarks. You should also set "$cCompiler" in the
# Run script to the name of the compiler you want to test.
-CC=gcc
+#CC=gcc
# OPTIMISATION SETTINGS:
@@ -71,14 +71,14 @@ CC=gcc
# -m386 -malign-loops=1 -malign-jumps=1 -malign-functions=1
## For Solaris 2, or general-purpose GCC 2.7.x
-OPTON = -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall
+OPTON = -O2 -fomit-frame-pointer -ffast-math -Wall
## For Digital Unix v4.x, with DEC cc v5.x
#OPTON = -O4
#CFLAGS = -DTIME -std1 -verbose -w0
## generic gcc CFLAGS. -DTIME must be included.
-CFLAGS = -DTIME -Wall -pedantic -ansi
+CFLAGS += -DTIME -Wall -pedantic -ansi
##############################################################################
@@ -90,8 +90,6 @@ CFLAGS = -DTIME -Wall -pedantic -ansi
PROGDIR = ./pgms
SRCDIR = ./src
TESTDIR = ./testdir
-RESULTDIR = ./results
-TMPDIR = ./tmp
# other directories
INCLDIR = /usr/include
LIBDIR = /lib