Changeset View
Changeset View
Standalone View
Standalone View
benchmarks/unixbench/files/patch-UnixBench_Makefile
- This file was added.
--- UnixBench/Makefile.orig 2015-06-04 17:20:18 UTC | |||||
+++ UnixBench/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 |