summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar LC2021-02-09 23:45:52 -0500
committerGravatar GitHub2021-02-09 23:45:52 -0500
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.gz
yuzu-dee133ab3d28a44e3aaaef0119a20f119553cb7d.tar.xz
yuzu-dee133ab3d28a44e3aaaef0119a20f119553cb7d.zip
Merge pull request #5904 from lat9nq/common-sized-dealloc
common: Add -fsized-deallocation as a Clang flag
-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)
206else() 206else()
207 target_compile_options(common PRIVATE 207 target_compile_options(common PRIVATE
208 -Werror 208 -Werror
209
210 $<$<CXX_COMPILER_ID:Clang>:-fsized-deallocation>
209 ) 211 )
210endif() 212endif()
211 213