diff options
| author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2021-09-13 22:30:30 +0200 |
|---|---|---|
| committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2021-09-15 21:32:44 +0200 |
| commit | d240a8bb35dafd6e37181710ccd06f935f5d0abc (patch) | |
| tree | abbc2795c4847269b01ff30fed230897721dbc07 /src | |
| parent | 59cf0848c7f8fec21dea2c4ab81915a90e281599 (diff) | |
Build System: Build with JCC Erratum Mitigation
Diffstat (limited to 'src')
| -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 6e66dc1dff..a37ae37c17 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -44,6 +44,7 @@ if (MSVC) /Zc:externConstexpr /Zc:inline /Zc:throwingNew + /GT # External headers diagnostics /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) /we5038 # data member 'member1' will be initialized after data member 'member2' ) + if (ARCHITECTURE_x86_64) + add_compile_options(/QIntel-jcc-erratum) + endif() + # /GS- - No stack buffer overflow checks add_compile_options("$<$<CONFIG:Release>:/GS->") |
