From bdd21c3373a197ab59a85efed8ad358002061011 Mon Sep 17 00:00:00 2001 From: Rokas Puzonas Date: Thu, 13 Apr 2023 18:14:17 +0300 Subject: [PATCH] compile assembly without optimization --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index ff38f83..acfa32c 100644 --- a/src/main.c +++ b/src/main.c @@ -51,7 +51,7 @@ void print_usage(const char *program) { int compile_asm(const char *src, const char *dst) { char command[512] = { 0 }; - snprintf(command, sizeof(command), "nasm \"%s\" -o \"%s\"", src, dst); + snprintf(command, sizeof(command), "nasm \"%s\" -O0 -o \"%s\"", src, dst); return system(command); }