Fix Clang possibly desyching

This commit is contained in:
NepDisk 2025-08-15 18:20:48 -04:00
parent ae14b55006
commit d8091adec5

View file

@ -219,6 +219,9 @@ if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" OR "${CMAKE_CXX_COMPILER_ID}" STRE
target_compile_options(SRB2SDL2 PRIVATE -mno-ms-bitfields)
endif()
# TODO: fix prng and P_CreateBlockmap overflow at some point
target_compile_options(SRB2SDL2 PRIVATE -fwrapv)
if (${CMAKE_BUILD_TYPE} MATCHES Debug)
else()