diff options
Diffstat (limited to 'src/CMakeLists.txt')
| -rw-r--r-- | src/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 54de1dc94..3575a3cb3 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt | |||
| @@ -121,6 +121,7 @@ else() | |||
| 121 | 121 | ||
| 122 | if (ARCHITECTURE_x86_64) | 122 | if (ARCHITECTURE_x86_64) |
| 123 | add_compile_options("-mcx16") | 123 | add_compile_options("-mcx16") |
| 124 | add_compile_options("-fwrapv") | ||
| 124 | endif() | 125 | endif() |
| 125 | 126 | ||
| 126 | if (APPLE AND CMAKE_CXX_COMPILER_ID STREQUAL Clang) | 127 | if (APPLE AND CMAKE_CXX_COMPILER_ID STREQUAL Clang) |