diff options
| author | John Ogness <john.ogness@linutronix.de> | 2018-02-23 16:03:43 +0100 |
|---|---|---|
| committer | John Ogness <john.ogness@linutronix.de> | 2018-02-23 16:03:43 +0100 |
| commit | 8549e7b26a9d770e12dbc98da91664fd8821dab2 (patch) | |
| tree | 8af534910b1ccf87aa0c70911fca4f656ba104b6 /schulung_tools/mtrace/Makefile | |
| parent | 12ca05dd9868f3596c257fddcc671f79dec080c6 (diff) | |
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 <john.ogness@linutronix.de>
Diffstat (limited to 'schulung_tools/mtrace/Makefile')
| -rw-r--r-- | schulung_tools/mtrace/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
