aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/unixbench/files/patch-Makefile
blob: f0ddc57d3c293106ff9830939f2f2cce7829407d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
--- 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