2020-05-28 03:34:41 +02:00
|
|
|
diff -Pdpru rp-pppoe-3.14.orig/gui/Makefile.in rp-pppoe-3.14/gui/Makefile.in
|
|
|
|
--- rp-pppoe-3.14.orig/gui/Makefile.in 2020-05-27 03:29:37.000000000 +0300
|
|
|
|
+++ rp-pppoe-3.14/gui/Makefile.in 2020-05-28 03:51:05.322582248 +0300
|
|
|
|
@@ -38,10 +38,10 @@ all: pppoe-wrapper
|
2012-02-01 05:07:56 +01:00
|
|
|
@echo "Type 'make install' as root to install the software."
|
|
|
|
|
|
|
|
pppoe-wrapper: wrapper.o
|
|
|
|
- @CC@ -o pppoe-wrapper wrapper.o
|
|
|
|
+ @CC@ -pie -Wl,-z,relro,-z,now -fwhole-program -o pppoe-wrapper wrapper.o
|
|
|
|
|
|
|
|
wrapper.o: wrapper.c
|
|
|
|
- @CC@ $(CFLAGS) -c -o wrapper.o wrapper.c
|
|
|
|
+ @CC@ -Wl,-z,relro,-z,now -fpie -fPIE -fwhole-program $(CFLAGS) -c -o wrapper.o wrapper.c
|
|
|
|
|
|
|
|
install: all
|
|
|
|
-mkdir -p $(DESTDIR)$(sbindir)
|