summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDarren Salt <linux@youmustbejoking.demon.co.uk>2006-07-12 20:33:58 +0000
committerDarren Salt <linux@youmustbejoking.demon.co.uk>2006-07-12 20:33:58 +0000
commit164db06359b49842d16c457ec26e5cbf01e95233 (patch)
treefc602ada4398e6991e76a5d554537d098ecf09d9 /src
parentffc61aacc7a5156216aa1f2e31d8b207bf3dd59d (diff)
downloadxine-lib-164db06359b49842d16c457ec26e5cbf01e95233.tar.gz
xine-lib-164db06359b49842d16c457ec26e5cbf01e95233.tar.bz2
Avoid a debug/no-optimise build failure (seen on amd64).
CVS patchset: 8122 CVS date: 2006/07/12 20:33:58
Diffstat (limited to 'src')
-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 b472ec378..0d649ae24 100644
--- a/src/libffmpeg/libavcodec/i386/Makefile.am
+++ b/src/libffmpeg/libavcodec/i386/Makefile.am
@@ -11,6 +11,9 @@ AM_CPPFLAGS = $(LIBFFMPEG_CPPFLAGS) -I$(top_srcdir)/src/libffmpeg/libavutil
# Avoid "can't find register" failures with -O1 and higher
dsputil_mmx.o dsputil_mmx.lo: CFLAGS=`echo @CFLAGS@ | sed -e 's/-funroll-loops//g; s/-O[0-9]/-Os/g'`
+# 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'`
+
ASFLAGS =
noinst_LTLIBRARIES = libavcodec_mmx.la