projects
/
suckless
/
slstatus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d144c8d
)
enable stack protector and compile to position independent executable
author
Aaron Marcher
<info@nulltime.net>
Thu, 20 Apr 2017 20:33:10 +0000
(22:33 +0200)
committer
Aaron Marcher
<info@nulltime.net>
Thu, 20 Apr 2017 20:33:10 +0000
(22:33 +0200)
config.mk
patch
|
blob
|
history
diff --git
a/config.mk
b/config.mk
index 71961906c41586de366cc0b63542a299308ad5ab..67fd6284856453ebaef9853919e38895df20940c 100644
(file)
--- a/
config.mk
+++ b/
config.mk
@@
-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