summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 5b1bad2..b38edbd 100644
--- a/Makefile
+++ b/Makefile
@@ -15,6 +15,9 @@ USER_CFLAGS = $(CFLAGS) -Isrc/user/lib/include/
SPARSEFLAGS = -Wno-non-pointer-null
LFLAGS = -ffreestanding -O2 -nostdlib -lgcc -Wl,-zmax-page-size=4096 -Wl,--no-warn-mismatch
QFLAGS = -no-reboot
+ifndef NO_KVM
+QFLAGS += -enable-kvm
+endif
ifndef QEMU_DISPLAY
QFLAGS += -display none
endif