Disable vect from compiler
Otherwise, this may produce vectorized instruction (mmx, sse ...) that will rise a EXCEPTION_INVALID_OPCODE
This commit is contained in:
parent
13f1dc7878
commit
de3c5e5dc2
2
Makefile
2
Makefile
@ -4,7 +4,7 @@ AS=nasm
|
|||||||
ASFLAGS += -f elf32
|
ASFLAGS += -f elf32
|
||||||
#LDFLAGS += -m32 -nostdlib -mkernel -fno-stack-protector
|
#LDFLAGS += -m32 -nostdlib -mkernel -fno-stack-protector
|
||||||
LDFLAGS += -m32 -nostdlib -static -fno-common -fno-use-cxa-atexit -fno-exceptions -fno-non-call-exceptions -fno-weak -fno-rtti -fno-stack-protector
|
LDFLAGS += -m32 -nostdlib -static -fno-common -fno-use-cxa-atexit -fno-exceptions -fno-non-call-exceptions -fno-weak -fno-rtti -fno-stack-protector
|
||||||
CFLAGS += -m32 -Wall -Wextra -Werror -ffreestanding -fno-exceptions -fno-pie -fno-stack-protector
|
CFLAGS += -m32 -Wall -Wextra -Werror -ffreestanding -fno-exceptions -fno-pie -fno-stack-protector -fno-tree-vectorize
|
||||||
CXXFLAGS += -m32 -Wall -Wextra -Werror -ffreestanding -fno-exceptions -fno-rtti -fno-pie
|
CXXFLAGS += -m32 -Wall -Wextra -Werror -ffreestanding -fno-exceptions -fno-rtti -fno-pie
|
||||||
DEBUG_FLAGS += -g -Og -DDEBUG -fno-omit-frame-pointer -fno-inline
|
DEBUG_FLAGS += -g -Og -DDEBUG -fno-omit-frame-pointer -fno-inline
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user