summaryrefslogtreecommitdiff
blob: 16b6e21c7aa2a49a0d762d6575fa473122557671 (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
diff -Nru squirm-1.26.orig/Makefile squirm-1.26/Makefile
--- squirm-1.26.orig/Makefile	2005-08-19 09:31:06.000000000 +0200
+++ squirm-1.26/Makefile	2009-06-20 14:58:18.000000000 +0200
@@ -1,7 +1,7 @@
 # $Id$
 
 # The path to install squirm under
-PREFIX=/usr/local/squirm
+PREFIX=/opt/squirm
 
 # The username that squid runs as (see cache_effective_user in squid.conf)
 USER=squid    
@@ -29,10 +29,10 @@
 CC=gcc
 
 
-OPTIMISATION=-O3
+OPTIMISATION=
 BINARIES = squirm
 
-CFLAGS = -O3 -Wall -funroll-loops -DPREFIX=\"$(PREFIX)\"
+CFLAGS += -DPREFIX=\"$(PREFIX)\"
 #CFLAGS = -Wall -g -DPREFIX=\"$(PREFIX)\"
 #CFLAGS = -Wall -g -DDEBUG
 
@@ -45,7 +45,7 @@
 			install -m 750 -o $(USER) -g $(GROUP) -d $(PREFIX)/logs
 			install -m 660 -c -o root -g $(GROUP) squirm.conf.dist squirm.patterns.dist \
 			$(PREFIX)/etc
-			install -m 755 -o root -g $(ROOT_GROUP) --strip squirm $(PREFIX)/bin
+			install -m 755 -o root -g $(ROOT_GROUP)  squirm $(PREFIX)/bin
 
 squirm.o:	squirm.c $(HFILES)
 			$(CC) -c squirm.c 	$(CFLAGS)