mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-09-19 21:06:42 +00:00
configure: add support to nicely enable ftrapv
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
b56f94cc36
commit
e73bac484f
4
configure
vendored
4
configure
vendored
@ -315,6 +315,7 @@ Developer options (useful when working on FFmpeg itself):
|
|||||||
--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
|
||||||
|
--enable-ftrapv Trap arithmetic overflows
|
||||||
--samples=PATH location of test samples for FATE, if not set use
|
--samples=PATH location of test samples for FATE, if not set use
|
||||||
\$FATE_SAMPLES at make invocation time.
|
\$FATE_SAMPLES at make invocation time.
|
||||||
--enable-xmm-clobber-test check XMM registers for clobbering (Win64-only;
|
--enable-xmm-clobber-test check XMM registers for clobbering (Win64-only;
|
||||||
@ -1108,6 +1109,7 @@ CONFIG_LIST="
|
|||||||
fft
|
fft
|
||||||
fontconfig
|
fontconfig
|
||||||
frei0r
|
frei0r
|
||||||
|
ftrapv
|
||||||
gnutls
|
gnutls
|
||||||
gpl
|
gpl
|
||||||
gray
|
gray
|
||||||
@ -3871,6 +3873,8 @@ check_optflags $optflags
|
|||||||
check_optflags -fno-math-errno
|
check_optflags -fno-math-errno
|
||||||
check_optflags -fno-signed-zeros
|
check_optflags -fno-signed-zeros
|
||||||
|
|
||||||
|
enabled ftrapv && check_cflags -ftrapv
|
||||||
|
|
||||||
check_cc -mno-red-zone <<EOF && noredzone_flags="-mno-red-zone"
|
check_cc -mno-red-zone <<EOF && noredzone_flags="-mno-red-zone"
|
||||||
int x;
|
int x;
|
||||||
EOF
|
EOF
|
||||||
|
Loading…
Reference in New Issue
Block a user