summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2014-11-25 12:22:35 +0100
committerMichal Idziorek <m.i@gmx.at>2014-11-25 12:22:35 +0100
commit6ec747105bfa8d52aca77bc577268f1944b19585 (patch)
tree1b4ae560171f8779079e13c2616f301b1d3d90b9 /Makefile
parentbad8fa17adf4d9609343fe86feabe05188023bc1 (diff)
started adding stack shmashing protection
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3469bce..6806c1b 100644
--- a/Makefile
+++ b/Makefile
@@ -28,7 +28,8 @@ CC=i686-foolos-gcc
############ compiler flags ############
CFLAGS=
-CFLAGS=-w
+CFLAGS+=-fstack-protector-all
+CFLAGS+=-w
CFLAGS+=-ffreestanding
CFLATS+=-Wall
CFLAGS+=-Wextra