summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLC <mathew1800@gmail.com>2021-02-10 05:45:52 +0100
committerGitHub <noreply@github.com>2021-02-10 05:45:52 +0100
commitdee133ab3d28a44e3aaaef0119a20f119553cb7d (patch)
treeac6f72e1b902638ae87f9e67cb170fa59da3d687
parentMerge pull request #5905 from lat9nq/core-sized-dealloc (diff)
parentcommon: Add -fsized-deallocation as a Clang flag (diff)
downloadyuzu-dee133ab3d28a44e3aaaef0119a20f119553cb7d.tar
yuzu-dee133ab3d28a44e3aaaef0119a20f119553cb7d.tar.gz
yuzu-dee133ab3d28a44e3aaaef0119a20f119553cb7d.tar.bz2
yuzu-dee133ab3d28a44e3aaaef0119a20f119553cb7d.tar.lz
yuzu-dee133ab3d28a44e3aaaef0119a20f119553cb7d.tar.xz
yuzu-dee133ab3d28a44e3aaaef0119a20f119553cb7d.tar.zst
yuzu-dee133ab3d28a44e3aaaef0119a20f119553cb7d.zip
-rw-r--r--src/common/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt
index bfd11e76d..263c457cd 100644
--- a/src/common/CMakeLists.txt
+++ b/src/common/CMakeLists.txt
@@ -206,6 +206,8 @@ if (MSVC)
else()
target_compile_options(common PRIVATE
-Werror
+
+ $<$<CXX_COMPILER_ID:Clang>:-fsized-deallocation>
)
endif()