source: npl/internetserver/poptop_ppp/patches/ppp-2.4.2-pie.patch @ c5c522c

gcc484ntopperl-5.22
Last change on this file since c5c522c was c5c522c, checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago

initial commit, transferred from cleaned syn3 svn tree

  • Property mode set to 100644
File size: 726 bytes
RevLine 
[c5c522c]1--- ppp-2.4.2/pppd/Makefile.linux.pie   2004-05-14 13:46:14.188327258 +0200
2+++ ppp-2.4.2/pppd/Makefile.linux       2004-05-14 13:46:16.147058249 +0200
3@@ -206,7 +206,7 @@
4        $(INSTALL) -c -m 444 pppd.8 $(MANDIR)/man8
5 
6 pppd: $(PPPDOBJS)
7-       $(CC) $(CFLAGS) $(LDFLAGS) -o pppd $(PPPDOBJS) $(LIBS)
8+       $(CC) $(CFLAGS) -pie $(LDFLAGS) -o pppd $(PPPDOBJS) $(LIBS)
9 
10 srp-entry:     srp-entry.c
11        $(CC) $(CFLAGS) $(LDFLAGS) -o $@ srp-entry.c $(LIBS)
12--- ppp-2.4.2/chat/Makefile.linux.pie   2004-05-14 13:46:32.699784925 +0200
13+++ ppp-2.4.2/chat/Makefile.linux       2004-05-14 13:46:45.071085866 +0200
14@@ -14,7 +14,7 @@
15 all:   chat
16 
17 chat:  chat.o
18-       $(CC) -o chat chat.o
19+       $(CC) -pie -o chat chat.o
20 
21 chat.o:        chat.c
22        $(CC) -c $(CFLAGS) -o chat.o chat.c
Note: See TracBrowser for help on using the repository browser.