aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/greed/files/patch-aa
blob: 39b3e8e2728d1b5fc60da8feddbde7c162d8393b (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
--- Makefile.orig	Tue May  4 09:49:31 1999
+++ Makefile	Thu May  6 07:12:36 1999
@@ -4,10 +4,10 @@
 
 # Where to install binary and manpage on "make install":
 
-PREFIX=/usr
 BINDIR=$(PREFIX)/bin
 MANDIR=$(PREFIX)/man
 SECTION=1
+FLAGS=${CFLAGS}
 
 ###################################################
 ######                                       ######
@@ -50,11 +50,10 @@
 #CFLAGS='-DI386_ASSEM -DREAL_IS_FLOAT -DLINUX -Wall -O2 -m486 -fomit-frame-pointer -funroll-all-loops -finline-functions -ffast-math -malign-loops=2 -malign-jumps=2 -malign-functions=2'
 
 freebsd:
-	$(MAKE) CC=cc LDFLAGS= \
+	$(MAKE) LDFLAGS= \
 		OBJECTS= \
-		CFLAGS='-Wall -ansi -pedantic -O4 -m486 \
-			-funroll-all-loops -ffast-math -DROT_I386 \
-			-DI386_ASSEM -DREAL_IS_FLOAT -DUSE_MMAP' \
+		CFLAGS='-funroll-all-loops -ffast-math \
+			-DREAL_IS_FLOAT -DUSE_MMAP ${FLAGS}' \
 		greed
 
 solaris: