setos

拙OS
Log | Files | Refs | LICENSE

commit 447795997b7242010674ba241fb3078dba898c03
parent 292255b8de594987d261a5367511d6fd14dab126
Author: Matsuda Kenji <info@mtkn.jp>
Date:   Sun,  5 May 2024 08:57:20 +0900

add -fno-stack-protector

Diffstat:
Msys/src/Makefile | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/src/Makefile b/sys/src/Makefile @@ -10,7 +10,7 @@ BOOTCFLAGS = -I ../include \ CC = gcc # TODO: find portable compiler flags. LD = ld CFLAGS = -I ../include -fpic -mno-red-zone -Wall -g \ - -ffreestanding -fno-builtin -nostdlib # -nostdinc + -fno-stack-protector -ffreestanding -fno-builtin -nostdlib # -nostdinc LDFLAGS = -L../lib -static disk.img: boot/boot.efi kernel/main.elf