-CC = x86_64-none-elf-gcc
-LD = x86_64-none-elf-ld
-DISASM = x86_64-none-elf-objdump -d -M x86-64 -S
+#PREFIX := x86_64-pc-elf
+PREFIX := x86_64-none-elf
-KERNEL_CFLAGS := -mcmodel=kernel -nostdlib -mno-red-zone -Wall
-DYNMOD_CFLAGS := -mcmodel=small -fPIC -mno-red-zone
+CC := $(PREFIX)-gcc
+LD := $(PREFIX)-ld
+DISASM = $(PREFIX)-objdump -d -M x86-64 -S
+
+KERNEL_CFLAGS := -mcmodel=kernel -nostdlib -mno-red-zone -Wall -mno-sse
+DYNMOD_CFLAGS := -mcmodel=small -fPIC -mno-red-zone -mno-sse
ARCHDIR = x86_64