mirror of
https://github.com/microsoft/vcpkg.git
synced 2026-01-18 01:11:23 +01:00
[opus] Set STACK_PROTECTOR ON for Windows builds (#47822)
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
This commit is contained in:
@@ -12,6 +12,7 @@ vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
avx2 AVX2_SUPPORTED
|
||||
)
|
||||
|
||||
set(STACK_PROTECTOR ON)
|
||||
set(ADDITIONAL_OPUS_OPTIONS "")
|
||||
if(VCPKG_TARGET_IS_MINGW)
|
||||
set(STACK_PROTECTOR OFF)
|
||||
@@ -27,8 +28,6 @@ elseif(VCPKG_TARGET_IS_WINDOWS)
|
||||
endif()
|
||||
elseif(VCPKG_TARGET_IS_EMSCRIPTEN)
|
||||
set(STACK_PROTECTOR OFF)
|
||||
else()
|
||||
set(STACK_PROTECTOR ON)
|
||||
endif()
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "opus",
|
||||
"version": "1.5.2",
|
||||
"port-version": 1,
|
||||
"description": "Totally open, royalty-free, highly versatile audio codec",
|
||||
"homepage": "https://github.com/xiph/opus",
|
||||
"license": "BSD-3-Clause",
|
||||
|
||||
@@ -7242,7 +7242,7 @@
|
||||
},
|
||||
"opus": {
|
||||
"baseline": "1.5.2",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"opusfile": {
|
||||
"baseline": "0.12+20221121",
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "2235818841e936376b19642c7a94fc7f17b2c2c2",
|
||||
"version": "1.5.2",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "368f8193c8c240a844cd342a3a485a0fa62e5774",
|
||||
"version": "1.5.2",
|
||||
|
||||
Reference in New Issue
Block a user