summaryrefslogtreecommitdiff
path: root/ftp/greed/files/patch-aa
blob: cd7228a55ad0a93e90683f4c710e4ee2ca925802 (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	Wed Apr 21 07:09:00 1999
+++ Makefile	Fri Apr 23 23:28:02 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}
 
 ###################################################
 ######                                       ######
@@ -52,11 +52,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 -fomit-frame-pointer \
-			-funroll-all-loops -ffast-math -DROT_I386 \
-			-DI386_ASSEM -DREAL_IS_FLOAT -DUSE_MMAP' \
+		CFLAGS='-fomit-frame-pointer -funroll-all-loops -ffast-math \
+			-DREAL_IS_FLOAT -DUSE_MMAP ${FLAGS}' \
 		greed
 
 solaris: