kernel: compile with -mi386 under gcc/clang to not generate SSE code in-kernel.
This commit is contained in:
parent
1cee6fe95e
commit
12e9303297
@ -18,6 +18,7 @@ LDFLAGS+= -.o
|
||||
CPPFLAGS+= -fno-builtin -ffreestanding -fno-stack-protector
|
||||
LDFLAGS+= -T arch/${ARCH}/kernel.lds
|
||||
LDFLAGS+= -nostdlib -L/usr/gnu/lib
|
||||
CFLAGS+=-march=i386
|
||||
DPADD+= ${LIBC}
|
||||
LDADD+= -lc
|
||||
.endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user