summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2021-11-07 14:17:32 +0100
committerFernando Sahmkow <fsahmkow27@gmail.com>2022-10-06 21:00:51 +0200
commit2c62563ab58a70236a39571149f8370f3fdfb2a3 (patch)
tree02cfe114d95ca19d1b35cbdd659d8ca8f27fb501 /src/CMakeLists.txt
parentVideoCore: implement channels on gpu caches. (diff)
downloadyuzu-2c62563ab58a70236a39571149f8370f3fdfb2a3.tar
yuzu-2c62563ab58a70236a39571149f8370f3fdfb2a3.tar.gz
yuzu-2c62563ab58a70236a39571149f8370f3fdfb2a3.tar.bz2
yuzu-2c62563ab58a70236a39571149f8370f3fdfb2a3.tar.lz
yuzu-2c62563ab58a70236a39571149f8370f3fdfb2a3.tar.xz
yuzu-2c62563ab58a70236a39571149f8370f3fdfb2a3.tar.zst
yuzu-2c62563ab58a70236a39571149f8370f3fdfb2a3.zip
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt1
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()
if (ARCHITECTURE_x86_64)
add_compile_options("-mcx16")
+ add_compile_options("-fwrapv")
endif()
if (APPLE AND CMAKE_CXX_COMPILER_ID STREQUAL Clang)