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