Skip to content

Commit

Permalink
Use compiler optimization for c68kexec.c
Browse files Browse the repository at this point in the history
  • Loading branch information
piggynl committed Nov 22, 2022
1 parent 7e38821 commit 9b52763
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions yabause/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 9b52763

Please sign in to comment.