diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2006-12-21 00:11:31 +0000 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2006-12-21 00:11:31 +0000 |
commit | 67534e2d8ca6a618952adcfa7dfc6d02deb49693 (patch) | |
tree | 48ddd673378f1d4c42c8e0308a38107f073578a8 /src | |
parent | 120abca14eb6b0a23c586d996fe5ab62420d9b85 (diff) | |
download | xine-lib-67534e2d8ca6a618952adcfa7dfc6d02deb49693.tar.gz xine-lib-67534e2d8ca6a618952adcfa7dfc6d02deb49693.tar.bz2 |
Improve the compiler optimisation failure workaround.
CVS patchset: 8430
CVS date: 2006/12/21 00:11:31
Diffstat (limited to 'src')
-rw-r--r-- | src/libffmpeg/libavcodec/i386/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libffmpeg/libavcodec/i386/Makefile.am b/src/libffmpeg/libavcodec/i386/Makefile.am index 3eae6fe0f..15ab4db89 100644 --- a/src/libffmpeg/libavcodec/i386/Makefile.am +++ b/src/libffmpeg/libavcodec/i386/Makefile.am @@ -9,7 +9,7 @@ CFLAGS := `echo @CFLAGS@ | sed -e 's/-funroll-loops//g'` 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'` +dsputil_mmx.o dsputil_mmx.lo: CFLAGS=$(shell echo @CFLAGS@ | sed -e 's/-funroll-loops//g; s/$$/ -Os/') # 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'` |