diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2006-02-14 18:43:35 +0000 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2006-02-14 18:43:35 +0000 |
commit | 7e5fe771ecada89e621898f27aa1cb4a5fefab48 (patch) | |
tree | 31f3be7a237e19b98c37f922f834b2fad41246ce /src | |
parent | 6fc2bc60b271cdc17c2539101c6bfafc06b58eb8 (diff) | |
download | xine-lib-7e5fe771ecada89e621898f27aa1cb4a5fefab48.tar.gz xine-lib-7e5fe771ecada89e621898f27aa1cb4a5fefab48.tar.bz2 |
Workaround: force -Os for dsputil_mmx.c to allow compilation to succeed.
CVS patchset: 7894
CVS date: 2006/02/14 18:43:35
Diffstat (limited to 'src')
-rw-r--r-- | src/libffmpeg/libavcodec/i386/Makefile.am | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libffmpeg/libavcodec/i386/Makefile.am b/src/libffmpeg/libavcodec/i386/Makefile.am index 41f614db7..49df37f80 100644 --- a/src/libffmpeg/libavcodec/i386/Makefile.am +++ b/src/libffmpeg/libavcodec/i386/Makefile.am @@ -5,7 +5,10 @@ include $(top_srcdir)/misc/Makefile.common AM_CFLAGS = $(LIBFFMPEG_CFLAGS) -I$(top_srcdir)/src/libffmpeg/libavutil -fomit-frame-pointer # CFLAGS is here to filter out -funroll-loops because it causes bad # behavior of libavcodec -CFLAGS = `echo @CFLAGS@ | sed -e 's/-funroll-loops//g'` +CFLAGS := `echo @CFLAGS@ | sed -e 's/-funroll-loops//g'` + +# 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'` ASFLAGS = @@ -37,7 +40,6 @@ if HAVE_FFMMX mmx_modules = $(libavcodec_mmx_src) endif - libavcodec_mmx_la_SOURCES = $(mmx_modules) $(libavcodec_mmx_dummy) noinst_HEADERS = dsputil_mmx_avg.h dsputil_mmx_rnd.h mmx.h |