From 424bcc46b5fb0d662e0fb9ad6319c5b9ef3d770f Mon Sep 17 00:00:00 2001 From: Reimar Döffinger Date: Wed, 21 Sep 2011 19:10:58 +0200 Subject: Compile x86/swscale_template with -mno-red-zone. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replaces a very hackish hack to fix the same issue (call instruction overwriting stack variables). Signed-off-by: Reimar Döffinger --- configure | 5 +++++ libswscale/Makefile | 2 ++ libswscale/x86/swscale_template.c | 10 ---------- 3 files changed, 7 insertions(+), 10 deletions(-) diff --git a/configure b/configure index 7c1a54ed5a..862f851141 100755 --- a/configure +++ b/configure @@ -3179,6 +3179,10 @@ else fi check_cflags -fno-math-errno check_cflags -fno-signed-zeros +check_cc -mno-red-zone <