summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--progs/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/progs/Makefile b/progs/Makefile
index ef51dc6..6a0d8ad 100644
--- a/progs/Makefile
+++ b/progs/Makefile
@@ -15,6 +15,8 @@ ifneq ($(DYNAMIC),yes)
LDFLAGS += --static
endif
LDLIBS += -L../libcap -lcap
+CFLAGS += -fPIE
+LDFLAGS += -pie
all: $(BUILD)