From 22d7580b77beef5ca4311c6da9d7562a6ce73ee0 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Mon, 31 Jul 2017 16:15:46 +0200 Subject: Makefile: use PIE, use -O1 to not optimize the *0 assignments away. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7dca2f3..48113a5 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,7 @@ ALL=fail -CFLAGS=-g -O2 -Wall -Wno-switch -Wextra -Wwrite-strings +CFLAGS=-g -O1 -Wall -Wno-switch -Wextra -Wwrite-strings -fPIE +LDFLAGS=-pie DESTDIR= PREFIX=/usr/local -- cgit 1.4.1