34 lines
983 B
Text
34 lines
983 B
Text
$NetBSD: patch-ab,v 1.4 2011/09/12 11:37:46 taca 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 -fforce-addr -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
|