1 |
vip-ire |
1.1 |
diff -up ppp-2.4.4/chat/Makefile.linux.pie ppp-2.4.4/chat/Makefile.linux |
2 |
|
|
--- ppp-2.4.4/chat/Makefile.linux.pie 2008-08-28 17:34:49.000000000 -0400 |
3 |
|
|
+++ ppp-2.4.4/chat/Makefile.linux 2008-08-28 17:34:49.000000000 -0400 |
4 |
|
|
@@ -18,7 +18,7 @@ INSTALL= install |
5 |
|
|
all: chat |
6 |
|
|
|
7 |
|
|
chat: chat.o |
8 |
|
|
- $(CC) -o chat chat.o |
9 |
|
|
+ $(CC) -pie -o chat chat.o |
10 |
|
|
|
11 |
|
|
chat.o: chat.c |
12 |
|
|
$(CC) -c $(CFLAGS) -o chat.o chat.c |
13 |
|
|
diff -up ppp-2.4.4/pppd/Makefile.linux.pie ppp-2.4.4/pppd/Makefile.linux |
14 |
|
|
--- ppp-2.4.4/pppd/Makefile.linux.pie 2008-08-28 17:34:49.000000000 -0400 |
15 |
|
|
+++ ppp-2.4.4/pppd/Makefile.linux 2008-08-28 17:35:38.000000000 -0400 |
16 |
|
|
@@ -207,7 +207,7 @@ install: pppd |
17 |
|
|
$(INSTALL) -c -m 444 pppd.8 $(MANDIR) |
18 |
|
|
|
19 |
|
|
pppd: $(PPPDOBJS) |
20 |
|
|
- $(CC) $(CFLAGS) $(LDFLAGS) -o pppd $(PPPDOBJS) $(LIBS) |
21 |
|
|
+ $(CC) $(CFLAGS) -pie $(LDFLAGS) -o pppd $(PPPDOBJS) $(LIBS) |
22 |
|
|
|
23 |
|
|
srp-entry: srp-entry.c |
24 |
|
|
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ srp-entry.c $(LIBS) |