Skip to content

Commit

Permalink
Add -Dstatic_assert=_Static_assert to FFmpeg compiler flags
Browse files Browse the repository at this point in the history
  • Loading branch information
Kartatz committed May 7, 2024
1 parent c4c7083 commit a2f7ff7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ jobs:
-DKAI_ENABLE_LTO="${KAI_ENABLE_LTO}" \
-DCMAKE_TOOLCHAIN_FILE="./.github/workflows/cmake_toolchains/${target}.cmake" \
-DCMAKE_INSTALL_PREFIX="${target}" \
-DCMAKE_BUILD_TYPE=MinSizeRel ../ 1>/dev/null
-DCMAKE_BUILD_TYPE=MinSizeRel ../
pushd './ffmpeg-build'
make --jobs 1>/dev/null
Expand Down
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,7 @@ set(
--enable-shared
--enable-small
--enable-version3
--extra-cflags=-Dstatic_assert=_Static_assert
--extra-ldflags=-fPIC
--prefix="${FFMPEG_INSTALL_PREFIX}"
)
Expand Down

0 comments on commit a2f7ff7

Please sign in to comment.