diff options
author | LC <mathew1800@gmail.com> | 2021-02-10 05:45:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-10 05:45:52 +0100 |
commit | dee133ab3d28a44e3aaaef0119a20f119553cb7d (patch) | |
tree | ac6f72e1b902638ae87f9e67cb170fa59da3d687 /src | |
parent | Merge pull request #5905 from lat9nq/core-sized-dealloc (diff) | |
parent | common: Add -fsized-deallocation as a Clang flag (diff) | |
download | yuzu-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 |
Diffstat (limited to 'src')
-rw-r--r-- | src/common/CMakeLists.txt | 2 |
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() |