aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMarvin Borner2021-03-20 19:55:51 +0100
committerGitHub2021-03-20 19:55:51 +0100
commit5132bac014d63331acf61bb60b9254023f76b869 (patch)
tree8e2946b7a6630da13ee403c787f77270aeb6185d /Makefile
parent435231378798819304eef427bad8e77dffea85df (diff)
parentb96c27bba0b242fc860fc9a2fcb63f121312fa7e (diff)
Merged ELF loading
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 9603296..e086c05 100644
--- a/Makefile
+++ b/Makefile
@@ -7,8 +7,8 @@ CFLAGS_DEFAULT = $(CFLAGS_WARNINGS) $(CFLAGS_OPTIMIZATION) -std=c99 -m32 -nostdl
all: compile
# TODO: Fix stack protector in userspace
-# TODO: Fix ubsan in userspace (probably due to kernel size)
-debug: CFLAGS_DEFAULT += -Wno-error -ggdb3 -s #-fsanitize=undefined # -fstack-protector-all
+# TODO: Fix ubsan in userspace - Os should be a temporary fix
+debug: CFLAGS_DEFAULT += -Wno-error -ggdb3 -s -Os -fsanitize=undefined -fstack-protector-all
debug: compile
export