Skip to content

Commit

Permalink
opus-cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
illwieckz committed Nov 18, 2024
1 parent 5653846 commit 608ea49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions external_deps/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -775,8 +775,8 @@ build_opus() {

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

Expand Down

0 comments on commit 608ea49

Please sign in to comment.