summaryrefslogtreecommitdiff
path: root/benchmarks/bytebench/patches/patch-ab
blob: 96c5c6b45edc147f148250dfbd7bcbf0d457b40d (plain)
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
$NetBSD: patch-ab,v 1.5 2013/10/27 20:30:01 joerg Exp $

--- Makefile.orig	1999-07-28 22:05:02.000000000 +0000
+++ Makefile
@@ -31,8 +31,8 @@
 ID="@(#)Makefile:3.9 -- 5/15/91 19:30:15";
 SHELL = /bin/sh
 #HZ = ????  	   #(read from environment)
-CFLAGS = -DTIME
-CC=gcc
+CFLAGS += -DTIME
+#CC=gcc
 
 ## For Linux 486/Pentium, GCC 2.7.x and 2.8.x
 #OPTON = -O2 -fomit-frame-pointer -fforce-addr -fforce-mem -ffast-math \
@@ -46,6 +46,9 @@ CC=gcc
 ## For Solaris 2, or general-purpose GCC 2.7.x
 OPTON = -O2 -fomit-frame-pointer -fforce-addr -fforce-mem -ffast-math -Wall
 
+## For Solaris 2, or general-purpose GCC 4.5
+OPTON = -O2 -fomit-frame-pointer -ffast-math -Wall
+
 ## Very generic
 #OPTON = -O
 
@@ -54,7 +57,7 @@ OPTON = -O2 -fomit-frame-pointer -fforce
 #CFLAGS = -DTIME -std1 -verbose -w0
 
 ## generic gcc CFLAGS.  -DTIME must be included
-CFLAGS = -DTIME -Wall -pedantic -ansi
+#CFLAGS = -DTIME -Wall -pedantic -ansi
 
 # local directories
 PROGDIR = ./pgms