diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2011-09-21 19:10:58 +0200 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2011-09-25 16:59:52 +0200 |
commit | 424bcc46b5fb0d662e0fb9ad6319c5b9ef3d770f (patch) | |
tree | ba5e6cc78cb019d9c64d7a4e3a058cc4e302133f /configure | |
parent | d8289ff9a9a3d0af416e70a1c864e1c6ce095656 (diff) | |
download | ffmpeg-424bcc46b5fb0d662e0fb9ad6319c5b9ef3d770f.tar.gz |
Compile x86/swscale_template with -mno-red-zone.
Replaces a very hackish hack to fix the same issue (call instruction
overwriting stack variables).
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -3179,6 +3179,10 @@ else fi check_cflags -fno-math-errno check_cflags -fno-signed-zeros +check_cc -mno-red-zone <<EOF && noredzone_flags="-mno-red-zone" +int x; +EOF + if enabled icc; then # Just warnings, no remarks @@ -3469,6 +3473,7 @@ SLIB_INSTALL_LINKS=${SLIB_INSTALL_LINKS} SLIB_INSTALL_EXTRA_LIB=${SLIB_INSTALL_EXTRA_LIB} SLIB_INSTALL_EXTRA_SHLIB=${SLIB_INSTALL_EXTRA_SHLIB} SAMPLES:=${samples:-\$(FATE_SAMPLES)} +NOREDZONE_FLAGS=$noredzone_flags EOF get_version(){ |