Skip to content

Commit 608ea49

Browse files
committed
opus-cmake
1 parent 5653846 commit 608ea49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

external_deps/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -775,8 +775,8 @@ build_opus() {
775775

776776
case "${PLATFORM}" in
777777
windows-*-*)
778-
# With MinGW _FORTIFY_SOURCE (added by configure) can only by used with -fstack-protector enabled.
779-
opus_cmake_args+=(-DCMAKE_C_FLAGS="${CFLAGS} -D_FORTIFY_SOURCE=0")
778+
# With MinGW, these options require libssp.
779+
opus_cmake_args+=(-DOPUS_FORTIFY_SOURCE=OFF -DOPUS_STACK_PROTECTOR=OFF)
780780
;;
781781
esac
782782

0 commit comments

Comments
 (0)