summaryrefslogtreecommitdiff
path: root/libswscale/Makefile
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-09-21 19:10:58 +0200
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-09-25 16:59:52 +0200
commit424bcc46b5fb0d662e0fb9ad6319c5b9ef3d770f (patch)
treeba5e6cc78cb019d9c64d7a4e3a058cc4e302133f /libswscale/Makefile
parentd8289ff9a9a3d0af416e70a1c864e1c6ce095656 (diff)
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 'libswscale/Makefile')
-rw-r--r--libswscale/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/libswscale/Makefile b/libswscale/Makefile
index 7f74677cec..942545d282 100644
--- a/libswscale/Makefile
+++ b/libswscale/Makefile
@@ -21,6 +21,8 @@ OBJS-$(HAVE_MMX) += x86/rgb2rgb.o \
OBJS-$(HAVE_VIS) += sparc/yuv2rgb_vis.o
OBJS-$(HAVE_YASM) += x86/scale.o
+$(SUBDIR)x86/swscale_mmx.o: CFLAGS += $(NOREDZONE_FLAGS)
+
TESTPROGS = colorspace swscale
DIRS = bfin mlib ppc sparc x86