1
0

compile assembly without optimization

This commit is contained in:
Rokas Puzonas 2023-04-13 18:14:17 +03:00
parent e478330109
commit bdd21c3373

View File

@ -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);
}