Blame SOURCES/arpwatch-pie.patch

1b6bc8
--- arpwatch-2.1a15/Makefile.in	2013-04-23 11:17:51.994488347 +0200
1b6bc8
+++ arpwatch-2.1a15/Makefile.in.new	2013-04-23 11:17:24.000000000 +0200
1b6bc8
@@ -48,12 +48,12 @@
1b6bc8
 DEFS = -DDEBUG @DEFS@ -DARPDIR=\"$(ARPDIR)\" -DPATH_SENDMAIL=\"$(SENDMAIL)\"
1b6bc8
 
1b6bc8
 # Standard CFLAGS
1b6bc8
-CFLAGS = $(CCOPT) $(DEFS) $(INCLS)
1b6bc8
+CFLAGS = $(CCOPT) $(DEFS) $(INCLS) -pie
1b6bc8
 
1b6bc8
 # Standard LIBS
1b6bc8
-LIBS = @LIBS@
1b6bc8
+LIBS = @LIBS@ -pie -Wl,-z,relro,-z,now
1b6bc8
 # Standard LIBS without libpcap.a
1b6bc8
-SLIBS = @LBL_LIBS@
1b6bc8
+SLIBS = @LBL_LIBS@ -pie -Wl,-z,relro,-z,now
1b6bc8
 
1b6bc8
 INSTALL = @INSTALL@
1b6bc8
 SENDMAIL = @V_SENDMAIL@