]> git.pld-linux.org Git - packages/dnsmasq.git/blob - dnsmasq-cc.patch
- changed chkconfig settings: same as bind; levels 345, start 14, stop 89
[packages/dnsmasq.git] / dnsmasq-cc.patch
1 --- dnsmasq-1.9/Makefile~       2002-10-30 00:49:54.000000000 +0100
2 +++ dnsmasq-1.9/Makefile        2002-10-30 00:51:30.000000000 +0100
3 @@ -1,6 +1,8 @@
4  OBJS = cache.o rfc1035.o dhcp.o dnsmasq.o
5  BINDIR = /usr/local/sbin
6  MANDIR = /usr/local/man
7 +CC=gcc
8 +OPT=-02
9  
10  all : dnsmasq
11  
12 @@ -8,11 +10,11 @@
13         rm -f *~ $(OBJS) dnsmasq
14  
15  .c.o: dnsmasq.h
16 -       gcc -O2 -Wall -W -c $*.c 
17 +       $(CC) $(OPT) -Wall -W -c $*.c 
18  
19  
20  dnsmasq : $(OBJS) dnsmasq.h config.h
21 -       gcc -o $@  $(OBJS) $(LIBS)
22 +       $(CC) -o $@  $(OBJS) $(LIBS)
23  
24  install : dnsmasq
25         install -d $(BINDIR) -d $(MANDIR)
This page took 0.082891 seconds and 3 git commands to generate.