Skip to content

Commit 43956df

Browse files
authored
[1.11] Add more missing flags for vcpkg (#5593)
Same as #5592, but on the release branch ###### Microsoft Reviewers: [Open in CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/microsoft/winget-cli/pull/5593)
1 parent 36831fc commit 43956df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/VcpkgCustomTriplets/common.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
set(VCPKG_LIBRARY_LINKAGE static)
2-
set(VCPKG_C_FLAGS "/Qspectre /W3 /guard:cf")
3-
set(VCPKG_CXX_FLAGS "/Qspectre /W3 /guard:cf")
2+
set(VCPKG_C_FLAGS "/Qspectre /W3 /guard:cf /D_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR")
3+
set(VCPKG_CXX_FLAGS "/Qspectre /W3 /guard:cf /D_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR")
44
set(VCPKG_INSTALL_OPTIONS, "--debug")
55

66
if(PORT MATCHES "cpprestsdk")

0 commit comments

Comments
 (0)