diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2001-12-31 14:21:23 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2001-12-31 14:21:23 +0000 |
commit | f5394972456da2a27c998afadbff70c5237d79c4 (patch) | |
tree | d3c98be70bc30e7dd99bfbaeacb4f9c895a5cf68 /src | |
parent | d5225209114204e7ba405a6397c5f64d64323214 (diff) | |
download | xine-lib-f5394972456da2a27c998afadbff70c5237d79c4.tar.gz xine-lib-f5394972456da2a27c998afadbff70c5237d79c4.tar.bz2 |
removing gcc optimizations that broke ffmpeg. mmx asm code does not need
to be optimized anyway.
CVS patchset: 1322
CVS date: 2001/12/31 14:21:23
Diffstat (limited to 'src')
-rw-r--r-- | src/libffmpeg/libavcodec/armv4l/Makefile.am | 4 | ||||
-rw-r--r-- | src/libffmpeg/libavcodec/i386/Makefile.am | 7 |
2 files changed, 8 insertions, 3 deletions
diff --git a/src/libffmpeg/libavcodec/armv4l/Makefile.am b/src/libffmpeg/libavcodec/armv4l/Makefile.am index 1fbda388f..49512fa17 100644 --- a/src/libffmpeg/libavcodec/armv4l/Makefile.am +++ b/src/libffmpeg/libavcodec/armv4l/Makefile.am @@ -2,7 +2,9 @@ ## Process this file with automake to produce Makefile.in ## -CFLAGS = @GLOBAL_CFLAGS@ @LIBFFMPEG_CFLAGS@ -DCONFIG_DECODERS -DHAVE_AV_CONFIG_H +#CFLAGS = @GLOBAL_CFLAGS@ @LIBFFMPEG_CFLAGS@ -DCONFIG_DECODERS -DHAVE_AV_CONFIG_H + +CFLAGS = -O2 @LIBFFMPEG_CFLAGS@ -DCONFIG_DECODERS -DHAVE_AV_CONFIG_H ASFLAGS = LIBTOOL = $(SHELL) $(top_builddir)/libtool-nofpic diff --git a/src/libffmpeg/libavcodec/i386/Makefile.am b/src/libffmpeg/libavcodec/i386/Makefile.am index 72cbcc92c..1620b967a 100644 --- a/src/libffmpeg/libavcodec/i386/Makefile.am +++ b/src/libffmpeg/libavcodec/i386/Makefile.am @@ -2,9 +2,12 @@ ## Process this file with automake to produce Makefile.in ## -#CFLAGS = -D_FILE_OFFSET_BITS=64 @GLOBAL_CFLAGS@ -DCONFIG_DECODERS -DHAVE_AV_CONFIG_H +#CFLAGS = @GLOBAL_CFLAGS@ @LIBFFMPEG_CFLAGS@ -DCONFIG_DECODERS -DHAVE_AV_CONFIG_H + +# we must not use GLOBAL_CFLAGS here, gcc optimizations produce +# bad code if we do so. +CFLAGS = -O2 @LIBFFMPEG_CFLAGS@ -DCONFIG_DECODERS -DHAVE_AV_CONFIG_H -CFLAGS = @GLOBAL_CFLAGS@ @LIBFFMPEG_CFLAGS@ -DCONFIG_DECODERS -DHAVE_AV_CONFIG_H ASFLAGS = LIBTOOL = $(SHELL) $(top_builddir)/libtool-nofpic |