diff options
| author | 2021-02-09 23:45:36 -0500 | |
|---|---|---|
| committer | 2021-02-09 23:45:36 -0500 | |
| commit | 3c22ce035bc1b1d3b8e507af79bbd25ca5d68c7f (patch) | |
| tree | 30e1fcda6b4fc39820d61f47b85cb82f1df00d99 /src | |
| parent | Merge pull request #5903 from lat9nq/config-silence-warns (diff) | |
| parent | core: Add -fsized-dealloction as a Clang flag (diff) | |
| download | yuzu-3c22ce035bc1b1d3b8e507af79bbd25ca5d68c7f.tar.gz yuzu-3c22ce035bc1b1d3b8e507af79bbd25ca5d68c7f.tar.xz yuzu-3c22ce035bc1b1d3b8e507af79bbd25ca5d68c7f.zip | |
Merge pull request #5905 from lat9nq/core-sized-dealloc
core: Add -fsized-dealloction as a Clang flag
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index 386d7bddf..987076956 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt | |||
| @@ -653,6 +653,8 @@ else() | |||
| 653 | $<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-parameter> | 653 | $<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-parameter> |
| 654 | $<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-variable> | 654 | $<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-variable> |
| 655 | 655 | ||
| 656 | $<$<CXX_COMPILER_ID:Clang>:-fsized-deallocation> | ||
| 657 | |||
| 656 | -Wno-sign-conversion | 658 | -Wno-sign-conversion |
| 657 | ) | 659 | ) |
| 658 | endif() | 660 | endif() |