aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 05b1379a..dc4bf593 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -52,7 +52,13 @@ usernetctl.o: usernetctl.c
$(CC) $(CFLAGS) -fPIE -c usernetctl.c -o usernetctl.o
usernetctl: usernetctl.c usernetctl.o
- $(CC) $(LDFLAGS) -pie -o $@ $@.o
+ $(CC) $(LDFLAGS) -pie -z relro -z now -o $@ $@.o
+
+netreport.o: netreport.c
+ $(CC) $(CFLAGS) -fPIE -c netreport.c -o netreport.o
+
+netreport: netreport.o
+ $(CC) $(LDFLAGS) -pie -z relro -z now -o $@ $@.o
shvar.o: shvar.c
$(CC) $(CFLAGS) `pkg-config glib-2.0 --cflags` -c shvar.c -o shvar.o