diff options
| author | 2021-09-13 22:30:30 +0200 | |
|---|---|---|
| committer | 2021-09-15 21:32:44 +0200 | |
| commit | 13471ddf86ef55cb62b27a51601cf9ac24797b8f (patch) | |
| tree | abbc2795c4847269b01ff30fed230897721dbc07 | |
| parent | Merge pull request #6900 from ameerj/attr-reorder (diff) | |
| download | yuzu-13471ddf86ef55cb62b27a51601cf9ac24797b8f.tar.gz yuzu-13471ddf86ef55cb62b27a51601cf9ac24797b8f.tar.xz yuzu-13471ddf86ef55cb62b27a51601cf9ac24797b8f.zip | |
Build System: Build with JCC Erratum Mitigation
Diffstat (limited to '')
| -rw-r--r-- | src/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 6e66dc1df..a37ae37c1 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt | |||
| @@ -44,6 +44,7 @@ if (MSVC) | |||
| 44 | /Zc:externConstexpr | 44 | /Zc:externConstexpr |
| 45 | /Zc:inline | 45 | /Zc:inline |
| 46 | /Zc:throwingNew | 46 | /Zc:throwingNew |
| 47 | /GT | ||
| 47 | 48 | ||
| 48 | # External headers diagnostics | 49 | # External headers diagnostics |
| 49 | /experimental:external # Enables the external headers options. This option isn't required in Visual Studio 2019 version 16.10 and later | 50 | /experimental:external # Enables the external headers options. This option isn't required in Visual Studio 2019 version 16.10 and later |
| @@ -69,6 +70,10 @@ if (MSVC) | |||
| 69 | /we5038 # data member 'member1' will be initialized after data member 'member2' | 70 | /we5038 # data member 'member1' will be initialized after data member 'member2' |
| 70 | ) | 71 | ) |
| 71 | 72 | ||
| 73 | if (ARCHITECTURE_x86_64) | ||
| 74 | add_compile_options(/QIntel-jcc-erratum) | ||
| 75 | endif() | ||
| 76 | |||
| 72 | # /GS- - No stack buffer overflow checks | 77 | # /GS- - No stack buffer overflow checks |
| 73 | add_compile_options("$<$<CONFIG:Release>:/GS->") | 78 | add_compile_options("$<$<CONFIG:Release>:/GS->") |
| 74 | 79 | ||