Disable stack protector from gcc
This commit is contained in:
parent
872c03f09b
commit
93e69bb43a
2
Makefile
2
Makefile
@ -18,7 +18,7 @@
|
|||||||
CC=gcc
|
CC=gcc
|
||||||
LD=ld
|
LD=ld
|
||||||
CFLAGS = -Wall -nostdinc -ffreestanding -DKERNEL_SOS -m32 \
|
CFLAGS = -Wall -nostdinc -ffreestanding -DKERNEL_SOS -m32 \
|
||||||
-fno-asynchronous-unwind-tables
|
-fno-asynchronous-unwind-tables -fno-stack-protector
|
||||||
LDFLAGS = --warn-common -nostdlib -m elf_i386
|
LDFLAGS = --warn-common -nostdlib -m elf_i386
|
||||||
OBJECTS = bootstrap/multiboot.o \
|
OBJECTS = bootstrap/multiboot.o \
|
||||||
hwcore/idt.o hwcore/gdt.o \
|
hwcore/idt.o hwcore/gdt.o \
|
||||||
|
Loading…
Reference in New Issue
Block a user