summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-09-02 20:41:21 +0200
committerGitHub <noreply@github.com>2023-09-02 20:41:21 +0200
commit32b2436f80f09fae88deef20711d34c037239bc5 (patch)
treece4760ed768713892cc5d2219e253a9695477e02
parentMerge pull request #11430 from liamwhite/validation-error-whats-that (diff)
downloadyuzu-32b2436f80f09fae88deef20711d34c037239bc5.tar
yuzu-32b2436f80f09fae88deef20711d34c037239bc5.tar.gz
yuzu-32b2436f80f09fae88deef20711d34c037239bc5.tar.bz2
yuzu-32b2436f80f09fae88deef20711d34c037239bc5.tar.lz
yuzu-32b2436f80f09fae88deef20711d34c037239bc5.tar.xz
yuzu-32b2436f80f09fae88deef20711d34c037239bc5.tar.zst
yuzu-32b2436f80f09fae88deef20711d34c037239bc5.zip
-rw-r--r--src/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 6068c7a1f..a9f68a8f2 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -105,6 +105,8 @@ if (MSVC)
set(CMAKE_EXE_LINKER_FLAGS_RELEASE "/DEBUG /MANIFEST:NO /INCREMENTAL:NO /OPT:REF,ICF" CACHE STRING "" FORCE)
else()
add_compile_options(
+ -fwrapv
+
-Werror=all
-Werror=extra
-Werror=missing-declarations
@@ -129,7 +131,6 @@ else()
if (ARCHITECTURE_x86_64)
add_compile_options("-mcx16")
- add_compile_options("-fwrapv")
endif()
if (APPLE AND CMAKE_CXX_COMPILER_ID STREQUAL Clang)