slackbuilds_ponce/network/3proxy/patches/Makefile.Linux.patch
2010-05-12 17:42:54 +02:00

21 lines
776 B
Diff

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)