diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-04-06 13:23:38 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-04-06 13:23:38 +0200 |
commit | 84bfa8beb708d7594d298b438d3fa9c21630da97 (patch) | |
tree | 173f86e3bdc612efbbd168245159e14c6d66ed65 /configure | |
parent | 11d7bbb47a1e8109aef90f62eb63ce0039f23340 (diff) | |
parent | a862c7d3368241e72a465ab944afa38ea62a6640 (diff) | |
download | ffmpeg-84bfa8beb708d7594d298b438d3fa9c21630da97.tar.gz |
Merge commit 'a862c7d3368241e72a465ab944afa38ea62a6640'
* commit 'a862c7d3368241e72a465ab944afa38ea62a6640':
Integrate lcov/gcov into Libav
Conflicts:
Makefile
common.mak
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -316,7 +316,6 @@ Optimization options (experts only): --disable-fast-unaligned consider unaligned accesses slow Developer options (useful when working on FFmpeg itself): - --enable-coverage build with test coverage instrumentation --disable-debug disable debugging symbols --enable-debug=LEVEL set the debug level [$debuglevel] --disable-optimizations disable compiler optimizations @@ -1560,7 +1559,6 @@ CMDLINE_SELECT=" $HAVE_LIST_CMDLINE $THREADS_LIST asm - coverage cross_compile debug extra_warnings @@ -2481,6 +2479,10 @@ case "$toolchain" in ar_default="lib" target_os_default="win32" ;; + gcov) + add_cflags -fprofile-arcs -ftest-coverage + add_ldflags -fprofile-arcs -ftest-coverage + ;; ?*) die "Unknown toolchain $toolchain" ;; @@ -4117,7 +4119,6 @@ enabled vdpau && disabled iconv || check_func_headers iconv.h iconv || check_lib2 iconv.h iconv -liconv || disable iconv enabled debug && add_cflags -g"$debuglevel" && add_asflags -g"$debuglevel" -enabled coverage && add_cflags "-fprofile-arcs -ftest-coverage" && add_ldflags "-fprofile-arcs -ftest-coverage" test -n "$valgrind" && target_exec="$valgrind --error-exitcode=1 --malloc-fill=0x2a --track-origins=yes --leak-check=full --gen-suppressions=all --suppressions=$source_path/tests/fate-valgrind.supp" # add some useful compiler flags if supported |