aboutsummaryrefslogtreecommitdiff
path: root/boot/Makefile
diff options
context:
space:
mode:
authorMarvin Borner2021-02-26 14:51:13 +0100
committerMarvin Borner2021-02-26 14:51:13 +0100
commit0f00932955521c3c2fb8140176ab72f22172c298 (patch)
tree99561c0254d14c0c3536f900ee83b0341a5c8a1b /boot/Makefile
parentdec16faf32e75d613e20cac175b8a0c2d3612b94 (diff)
Started UBSan and stack-smashing check support
Diffstat (limited to 'boot/Makefile')
-rw-r--r--boot/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot/Makefile b/boot/Makefile
index 6d38ce5..714ec22 100644
--- a/boot/Makefile
+++ b/boot/Makefile
@@ -5,7 +5,7 @@ LD = ccache ../cross/opt/bin/i686-elf-ld
OC = ccache ../cross/opt/bin/i686-elf-objcopy
AS = ccache nasm
-CFLAGS = $(CFLAGS_DEFAULT) -ffreestanding
+CFLAGS = $(CFLAGS_DEFAULT) -ffreestanding -fno-stack-protector -fno-sanitize=undefined
ASFLAGS = -f elf32