From 33f4fe37a8e3a8994b0f4e5d69863da83c9a7eec Mon Sep 17 00:00:00 2001 From: Nero <41307858+nero@users.noreply.github.com> Date: Tue, 20 Oct 2020 21:03:47 +0000 Subject: [PATCH] Makefile: Fix KVM detection to not trigger on weird ass make versions --- Makefile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Makefile b/Makefile index f114152..68877d7 100644 --- a/Makefile +++ b/Makefile @@ -12,11 +12,7 @@ LABEL = $(PRODUCT) $(VERSION) NASM = nasm NASM_ARGS = -s -Ilib -DPRODUCT=$(PRODUCT) -DVERSION=$(VERSION) -KVM = $(shell test -w /dev/kvm && echo 1) - -ifdef KVM -QEMU_ARGS += --enable-kvm -endif +QEMU_ARGS += $(shell test -w /dev/kvm && echo --enable-kvm) ifdef DEBUG ROMS += dprintf.rom