mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
configure: Fix floating point conformance ith icl.
Reviewed-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
ab57cbb7b1
commit
efcea0b911
4
configure
vendored
4
configure
vendored
@ -3359,9 +3359,9 @@ probe_cc(){
|
|||||||
_ld_path='-libpath:'
|
_ld_path='-libpath:'
|
||||||
# -Qdiag-error to make icl error when seeing certain unknown arguments
|
# -Qdiag-error to make icl error when seeing certain unknown arguments
|
||||||
_flags='-nologo -Qdiag-error:4044,10157'
|
_flags='-nologo -Qdiag-error:4044,10157'
|
||||||
# -Qvec- -Qsimd- to prevent miscompilation, -GS for consistency
|
# -Qvec- -Qsimd- to prevent miscompilation, -GS, fp:precise for consistency
|
||||||
# with MSVC which enables it by default.
|
# with MSVC which enables it by default.
|
||||||
_cflags='-D_USE_MATH_DEFINES -FIstdlib.h -Dstrtoll=_strtoi64 -Qms0 -Qvec- -Qsimd- -GS'
|
_cflags='-D_USE_MATH_DEFINES -FIstdlib.h -Dstrtoll=_strtoi64 -Qms0 -Qvec- -Qsimd- -GS -fp:precise'
|
||||||
if [ $pfx = hostcc ]; then
|
if [ $pfx = hostcc ]; then
|
||||||
append _cflags -Dsnprintf=_snprintf
|
append _cflags -Dsnprintf=_snprintf
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user