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 8582a6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions yabause/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -509,9 +509,9 @@ 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")
set_source_files_properties(c68k/c68kexec.c PROPERTIES COMPILE_FLAGS "/wd4146")
else()
set_source_files_properties(c68k/c68kexec.c PROPERTIES COMPILE_FLAGS "-O0")
set_source_files_properties(c68k/c68kexec.c PROPERTIES COMPILE_FLAGS "-fno-strict-aliasing")
endif()
endif(YAB_WANT_C68K)

Expand Down

0 comments on commit 8582a6a

Please sign in to comment.