From 8549e7b26a9d770e12dbc98da91664fd8821dab2 Mon Sep 17 00:00:00 2001 From: John Ogness Date: Fri, 23 Feb 2018 16:03:43 +0100 Subject: mtrace: force PIE In case it is run on a system where PIE is not the default, explicitly set for the binary to be built as PIE. Signed-off-by: John Ogness --- schulung_tools/mtrace/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schulung_tools/mtrace/Makefile b/schulung_tools/mtrace/Makefile index 224a9fa..5c7b015 100644 --- a/schulung_tools/mtrace/Makefile +++ b/schulung_tools/mtrace/Makefile @@ -1,5 +1,5 @@ leak: leak.c - gcc -g -O0 -o$@ $< + gcc -pie -fPIC -g -O0 -o$@ $< clean: rm -f leak -- cgit v1.2.3