summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 6ab11f5..160054a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -53,6 +53,9 @@ bin_PROGRAMS = \
ltrace_SOURCES = \
main.c
+ltrace_CFLAGS = -fPIE
+ltrace_LDFLAGS = -pie
+
ltrace_LDADD = \
libltrace.la