1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
Description: use all hardening flags
Author: Thorsten Alteholz <debian@alteholz.de>
Index: mdns-scan-0.5/Makefile
===================================================================
--- mdns-scan-0.5.orig/Makefile 2018-08-13 14:42:36.877702150 +0200
+++ mdns-scan-0.5/Makefile 2018-08-13 14:54:53.085680081 +0200
@@ -2,10 +2,10 @@
TARFILE=mdns-scan-$(VERSION).tar.gz
DISTDIR=mdns-scan-$(VERSION)/
DISTFILES=Makefile mdns-scan.1 dns.c dns.h mdns-scan.c query.c query.h util.h util.c README LICENSE
-CFLAGS=-Wall -W -g -O0 -pipe
+CFLAGS+=-Wall -W -g -O1 -pipe
mdns-scan: mdns-scan.o dns.o query.o util.o
- $(CC) -o $@ $^
+ $(CC) $(LDFLAGS) -o $@ $^
dist: $(TARFILE)
|