summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authordzwdz2021-07-09 16:13:38 +0200
committerdzwdz2021-07-09 16:13:38 +0200
commit79dbeb367cc7b39e965c052ebb62076a2118c54c (patch)
tree23651a0ea6abbe9d9cbc4968a35e0ab317911185 /Makefile
parent9b851331995c84f9548eba05e51b47656cb83deb (diff)
basic interrupt support
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 57100d4..da06cb5 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,7 @@
AS = i686-elf-as
CC = i686-elf-gcc
CFLAGS = -std=gnu99 -ffreestanding -O2 -Wall -Wextra
+CFLAGS += -mgeneral-regs-only
CFLAGS += -I.
LFLAGS = -ffreestanding -O2 -nostdlib -lgcc
QFLAGS = -no-reboot -d guest_errors,int,pcall,cpu_reset