diff options
| author | 2021-02-09 23:45:52 -0500 | |
|---|---|---|
| committer | 2021-02-09 23:45:52 -0500 | |
| commit | dee133ab3d28a44e3aaaef0119a20f119553cb7d (patch) | |
| tree | ac6f72e1b902638ae87f9e67cb170fa59da3d687 | |
| 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.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.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) | |||
| 206 | else() | 206 | else() |
| 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 | ) |
| 210 | endif() | 212 | endif() |
| 211 | 213 | ||