mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-01 21:58:55 +08:00
9f69089cb9
s2n fails to build with gcc 11 (see https://github.com/aws/s2n-tls/issues/2989) due to problematic type declarations which generate compiler warnings, coupled with the fact that s2n builds with -Werror by default. The underlying bug is not yet fixed upstream. Building with -Werror is not helpful for an end user trying to use s2n from vcpkg, since a build failure like this is not actionable. This change therefore uses the UNSAFE_TREAT_AS_ERRORS=OFF option to disable -Werror.
25 lines
466 B
JSON
25 lines
466 B
JSON
{
|
|
"name": "s2n",
|
|
"version": "1.3.0",
|
|
"port-version": 1,
|
|
"description": "C99 implementation of the TLS/SSL protocols.",
|
|
"homepage": "https://github.com/aws/s2n-tls",
|
|
"supports": "!uwp & !windows",
|
|
"dependencies": [
|
|
"openssl",
|
|
{
|
|
"name": "vcpkg-cmake",
|
|
"host": true
|
|
},
|
|
{
|
|
"name": "vcpkg-cmake-config",
|
|
"host": true
|
|
}
|
|
],
|
|
"features": {
|
|
"tests": {
|
|
"description": "Build and run the tests"
|
|
}
|
|
}
|
|
}
|