From 932fc8e3c7fba200fe6a79b54ffa64908c734a22 Mon Sep 17 00:00:00 2001 From: SNMetamorph <25657591+SNMetamorph@users.noreply.github.com> Date: Sat, 20 Feb 2021 15:03:42 +0400 Subject: [PATCH] wscript: fixed MSVC optimization flag in debug mode --- scripts/waifulib/compiler_optimizations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/waifulib/compiler_optimizations.py b/scripts/waifulib/compiler_optimizations.py index 688d803b..fb8c7424 100644 --- a/scripts/waifulib/compiler_optimizations.py +++ b/scripts/waifulib/compiler_optimizations.py @@ -73,7 +73,7 @@ CFLAGS = { 'default': ['-O3'] }, 'debug': { - 'msvc': ['/O1'], + 'msvc': ['/Od'], 'gcc': ['-Og'], 'owcc': ['-O0', '-fno-omit-frame-pointer', '-funwind-tables', '-fno-omit-leaf-frame-pointer'], 'default': ['-O1']