summaryrefslogtreecommitdiff
path: root/src/libffmpeg/libavcodec/i386
diff options
context:
space:
mode:
authorReinhard Nißl <rnissl@gmx.de>2007-04-10 21:21:55 +0200
committerReinhard Nißl <rnissl@gmx.de>2007-04-10 21:21:55 +0200
commit2db5cee0a753b0430a3d3f1fe2af5d5538fb49eb (patch)
treea87e35c2cb0d85182a0526bb925b28612107d0da /src/libffmpeg/libavcodec/i386
parentc552e457732c3c7b84b66ed8548713be52561487 (diff)
downloadxine-lib-2db5cee0a753b0430a3d3f1fe2af5d5538fb49eb.tar.gz
xine-lib-2db5cee0a753b0430a3d3f1fe2af5d5538fb49eb.tar.bz2
Allow xine-lib to be built with CFLAGS='-O0 -g3' by changing optimization
as needed for some files where gcc runs out of registers otherwise.
Diffstat (limited to 'src/libffmpeg/libavcodec/i386')
-rw-r--r--src/libffmpeg/libavcodec/i386/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libffmpeg/libavcodec/i386/Makefile.am b/src/libffmpeg/libavcodec/i386/Makefile.am
index e3285d9cd..b9d33c3a7 100644
--- a/src/libffmpeg/libavcodec/i386/Makefile.am
+++ b/src/libffmpeg/libavcodec/i386/Makefile.am
@@ -14,6 +14,9 @@ dsputil_mmx.o dsputil_mmx.lo: CFLAGS=$(shell echo @CFLAGS@ | sed -e 's/-funroll-
# Avoid errors on (at least) amd64 with -O0
fdct_mmx.o fdct_mmx.lo: CFLAGS=`echo @CFLAGS@ | sed -e 's/^/-Os /; s/-O0\?\s/-Os /g'`
+# Avoid errors with -O0
+mpegvideo_mmx.o mpegvideo_mmx.lo: CFLAGS=`echo @CFLAGS@ | sed -e 's/-O0\?\s/-Os /g'`
+
ASFLAGS =
noinst_LTLIBRARIES = libavcodec_mmx.la