diff options
author | Leah Neukirchen <leah@vuxu.org> | 2017-07-31 16:15:46 +0200 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2017-07-31 16:15:46 +0200 |
commit | 22d7580b77beef5ca4311c6da9d7562a6ce73ee0 (patch) | |
tree | ec827719f7e3e49547e9638e1a184d0b567848d0 /Makefile | |
parent | 1504d096f24876c2bc5af22a3ca4d111e705547e (diff) | |
download | fail-22d7580b77beef5ca4311c6da9d7562a6ce73ee0.tar.gz fail-22d7580b77beef5ca4311c6da9d7562a6ce73ee0.tar.xz fail-22d7580b77beef5ca4311c6da9d7562a6ce73ee0.zip |
Makefile: use PIE, use -O1 to not optimize the *0 assignments away.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
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 |