summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--src/__sys.x86-64.s4
2 files changed, 1 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index a479b5b4..c7495ef9 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
AR=ar
ARFLAGS=rU
-BASE_CFLAGS=-g -Wall -Wextra -Werror -nostdinc -fno-builtin -Iinclude -Isrc
+BASE_CFLAGS=-g -Wall -Wextra -Werror -nostdinc -fno-builtin -fno-stack-protector -Iinclude -Isrc
OBJDIR=obj
SRCDIR=src
diff --git a/src/__sys.x86-64.s b/src/__sys.x86-64.s
index 415a8084..02fd3dbb 100644
--- a/src/__sys.x86-64.s
+++ b/src/__sys.x86-64.s
@@ -15,7 +15,3 @@ _start:
popq %rdi
movq %rsp, %rsi
call __main
-
-.global __stack_chk_fail
-__stack_chk_fail:
- ret