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