summaryrefslogtreecommitdiff
path: root/network/3proxy/patches/Makefile.Linux.patch
blob: e8705daee3f65a62cb58fa74a6a9a211e8a0ee04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff -Nur 3proxy-0.6.orig/Makefile.Linux 3proxy-0.6/Makefile.Linux
--- 3proxy-0.6.orig/Makefile.Linux	2008-09-30 08:58:43.000000000 -0500
+++ 3proxy-0.6/Makefile.Linux	2009-06-24 12:01:44.148796740 -0500
@@ -11,7 +11,7 @@
 BUILDDIR =
 CC = gcc
 
-CFLAGS = -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL
+CFLAGS = -Wall -g $(EXTRA_CFLAGS) -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL
 COUT = -o 
 LN = gcc
 DCFLAGS = -fpic
@@ -69,7 +69,7 @@
 
 install-bin:
 	$(INSTALL_BIN) -d $(BINDIR)
-	$(INSTALL_BIN) -s $(INSTALL_OBJS) $(BINDIR)
+	$(INSTALL_BIN) $(INSTALL_OBJS) $(BINDIR)
 
 install-etc-dir:
 	$(INSTALL_BIN) -d $(ETCDIR)