diff options
author | Aaron Marcher <info@nulltime.net> | 2017-04-20 22:33:10 +0200 |
---|---|---|
committer | Aaron Marcher <info@nulltime.net> | 2017-04-20 22:33:10 +0200 |
commit | ac1a57ec30e8729166b6b890a0f33256218d1ef6 (patch) | |
tree | 346224a6db2d9e124ce5615cb4ec0e1c496be68f /config.mk | |
parent | d144c8de3d1db270722c52a8d34727e38c69dc91 (diff) |
enable stack protector and compile to position independent executable
Diffstat (limited to 'config.mk')
-rw-r--r-- | config.mk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -11,7 +11,7 @@ LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 CPPFLAGS = -D_GNU_SOURCE # -Wno-unused-function for routines not activated by user -CFLAGS = -std=c99 -pedantic -Wno-unused-function -Wall -Wextra -Os ${INCS} ${CPPFLAGS} +CFLAGS = -std=c99 -pedantic -Wno-unused-function -Wall -Wextra -Os -fstack-protector-strong -fstack-check -fPIE ${INCS} ${CPPFLAGS} LDFLAGS = ${LIBS} CC = cc |