build system: support setting avassert() assert_level
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
ab553612e7
commit
fe5b7db07a
6
configure
vendored
6
configure
vendored
@ -277,6 +277,8 @@ Developer options (useful when working on FFmpeg itself):
|
|||||||
--disable-optimizations disable compiler optimizations
|
--disable-optimizations disable compiler optimizations
|
||||||
--enable-extra-warnings enable more compiler warnings
|
--enable-extra-warnings enable more compiler warnings
|
||||||
--disable-stripping disable stripping of executables and shared libraries
|
--disable-stripping disable stripping of executables and shared libraries
|
||||||
|
--assert_level=level 0(default), 1 or 2, amount of assertion testing,
|
||||||
|
2 causes a slowdown at runtime.
|
||||||
--valgrind=VALGRIND run "make fate" tests through valgrind to detect memory
|
--valgrind=VALGRIND run "make fate" tests through valgrind to detect memory
|
||||||
leaks and errors, using the specified valgrind binary.
|
leaks and errors, using the specified valgrind binary.
|
||||||
Cannot be combined with --target-exec
|
Cannot be combined with --target-exec
|
||||||
@ -1304,6 +1306,7 @@ CMDLINE_SET="
|
|||||||
ar
|
ar
|
||||||
arch
|
arch
|
||||||
as
|
as
|
||||||
|
assert_level
|
||||||
build_suffix
|
build_suffix
|
||||||
cc
|
cc
|
||||||
cpu
|
cpu
|
||||||
@ -3721,6 +3724,9 @@ cat > $TMPH <<EOF
|
|||||||
#define SLIBSUF "$SLIBSUF"
|
#define SLIBSUF "$SLIBSUF"
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
test -n "$assert_level" &&
|
||||||
|
echo "#define ASSERT_LEVEL $assert_level" >>$TMPH
|
||||||
|
|
||||||
test -n "$malloc_prefix" &&
|
test -n "$malloc_prefix" &&
|
||||||
echo "#define MALLOC_PREFIX $malloc_prefix" >>$TMPH
|
echo "#define MALLOC_PREFIX $malloc_prefix" >>$TMPH
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user