From 9b52763d09fa6f03c5e21865d5f9408e48f96f3b Mon Sep 17 00:00:00 2001 From: Piggy NL Date: Tue, 22 Nov 2022 10:16:58 +0800 Subject: [PATCH] Use compiler optimization for c68kexec.c --- yabause/src/CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/yabause/src/CMakeLists.txt b/yabause/src/CMakeLists.txt index 4bd7730d40..4e297dc76e 100755 --- a/yabause/src/CMakeLists.txt +++ b/yabause/src/CMakeLists.txt @@ -509,9 +509,7 @@ if (YAB_WANT_C68K) set(yabause_SOURCES ${yabause_SOURCES} c68k/c68kexec.c c68k/c68k.c m68kc68k.c) set(yabause_HEADERS ${yabause_HEADERS} c68k/c68k.h m68kc68k.h) if (MSVC) - set_source_files_properties(c68k/c68kexec.c PROPERTIES COMPILE_FLAGS "/Od /wd4146") - else() - set_source_files_properties(c68k/c68kexec.c PROPERTIES COMPILE_FLAGS "-O0") + set_source_files_properties(c68k/c68kexec.c PROPERTIES COMPILE_FLAGS "/wd4146") endif() endif(YAB_WANT_C68K)