File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -12,15 +12,20 @@ if [ $RUN_CONFIG = 1 ] || [ ! -f "$FFMPEG_BUILD_PATH/Makefile" ] ; then
1212 echo " ::group::Configure FFmpeg"
1313 rm -rf $FFMPEG_BUILD_PATH /*
1414
15- CFLAGS=" -Wno-incompatible-pointer-types" \
15+ if [ $DEBUG = 1 ] ; then
16+ ADDITIONAL_OPTIONS=" \
17+ --enable-debug=3"
18+ fi
19+
20+ CFLAGS=" -Wno-incompatible-pointer-types -fno-builtin-sin -fno-builtin-cos" \
1621 $FFMPEG_SOURCE_PATH /configure \
1722 --prefix=$FFMPEG_PATH \
1823 --target-path=" ." \
1924 --target-samples=" ./samples" \
20- --disable-optimizations \
2125 --arch=aarch64 \
2226 --target-os=mingw32 \
23- --cross-prefix=aarch64-w64-mingw32-
27+ --cross-prefix=aarch64-w64-mingw32- \
28+ $ADDITIONAL_OPTIONS
2429 echo " ::endgroup::"
2530fi
2631
You can’t perform that action at this time.
0 commit comments