From 473ae8fad1930012467ec73e73a0fc797c8d442c Mon Sep 17 00:00:00 2001 From: Nathan Cannon Date: Fri, 17 Nov 2017 01:17:04 +0000 Subject: [PATCH] Fixed debug build options. --- nakefile.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nakefile.nim b/nakefile.nim index 093f630..6d9208d 100644 --- a/nakefile.nim +++ b/nakefile.nim @@ -21,7 +21,7 @@ task "build", "Builds the operating system.": runTask("clean") runTask("bootloader") echo "Compiling and linking." - direShell "nim cc -o", outputFile, standardOptions + direShell "nim cc -o:", outputFile, standardOptions runTask("checkMultiboot") echo "Done." @@ -41,7 +41,7 @@ task "checkMultiboot", "Checks the grub multiboot header.": task "debug", "Runs the operating system using QEMU with debug build and flags.": runTask("build") echo "Running in Qemu." - direShell "qemu-system-i386 -kernel", outputFile ,"-serial stdio -no-reboot -d int,cpu-reset" + direShell "qemu-system-i386 -kernel", outputFile ,"-serial stdio -no-reboot -d int,cpu_reset" task "run", "Runs the operating system using QEMU.": runTask("build-release")