forked from Bananymous/banan-os
Kernel: Add no sse and sse2 for kernel code
This commit is contained in:
parent
f10a57dcec
commit
1954f223ad
|
@ -13,7 +13,7 @@ EXEC_PREFIX?=$(PREFIX)
|
||||||
BOOTDIR?=$(EXEC_PREFIX)/boot
|
BOOTDIR?=$(EXEC_PREFIX)/boot
|
||||||
INCLUDEDIR?=$(PREFIX)/include
|
INCLUDEDIR?=$(PREFIX)/include
|
||||||
|
|
||||||
CFLAGS:=$(CFLAGS) -D__is_kernel -Iinclude -fstack-protector -ffreestanding -Wall -Wextra -Werror=return-type -fno-omit-frame-pointer
|
CFLAGS:=$(CFLAGS) -D__is_kernel -Iinclude -fstack-protector -ffreestanding -Wall -Wextra -Werror=return-type -fno-omit-frame-pointer -mno-sse -mno-sse2
|
||||||
CPPFLAGS:=$(CPPFLAGS) -fno-rtti -fno-exceptions
|
CPPFLAGS:=$(CPPFLAGS) -fno-rtti -fno-exceptions
|
||||||
LDFLAGS:=$(LDFLAGS)
|
LDFLAGS:=$(LDFLAGS)
|
||||||
LIBS:=$(LIBS) -nostdlib -lk -lbank -lgcc
|
LIBS:=$(LIBS) -nostdlib -lk -lbank -lgcc
|
||||||
|
|
Loading…
Reference in New Issue