summaryrefslogtreecommitdiffstats
path: root/makefile
diff options
context:
space:
mode:
authorAlexey Gavrilov <90127298+rebovas@users.noreply.github.com>2024-04-10 13:12:08 +0700
committerGitHub <noreply@github.com>2024-04-10 13:12:08 +0700
commit0a50b1758fd3da118408fd724825d0a50a9ecf17 (patch)
tree783ed019c87c3c9624a1a13f68c7bafc4c146dfb /makefile
parent9ad5b9b6a1f8d641ac13f7c004afd6ea9bff50ee (diff)
parent0c56a0300b7ffbab787a4c974bc164d9a2a57ad2 (diff)
Merge pull request #8 from rebovas/msr
Msr + interrupts implement + crude implementation of IDT filling
Diffstat (limited to 'makefile')
-rw-r--r--makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/makefile b/makefile
index 439c42e..aaf6cc3 100644
--- a/makefile
+++ b/makefile
@@ -2,7 +2,7 @@ CC = i686-elf-g++
LD = ld
ASM = nasm
# test -O2 flag
-CFLAGS = -c -m32 -Wall -ffreestanding -nostdinc -nostdlib -fno-rtti
+CFLAGS = -c -m32 -Wall -ffreestanding -nostdinc -nostdlib -fno-rtti -mgeneral-regs-only
AFLAGS = -f elf32
LDFLAGS = -m elf_i386 $(patsubst %,-L%,$(subst :, ,$(LIBS_PATH))) -lgcc
QEMUFLAGS =