From 7f734e68339a364a0d9f5edbf2fd95b4947e97f8 Mon Sep 17 00:00:00 2001 From: Stephen Torri Date: Mon, 17 Mar 2003 09:41:58 +0000 Subject: Removes -funroll-loops from i386 build CFLAGS CVS patchset: 4434 CVS date: 2003/03/17 09:41:58 --- src/libffmpeg/libavcodec/i386/Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/libffmpeg/libavcodec/i386/Makefile.am b/src/libffmpeg/libavcodec/i386/Makefile.am index 6386800f6..58fa8c47e 100644 --- a/src/libffmpeg/libavcodec/i386/Makefile.am +++ b/src/libffmpeg/libavcodec/i386/Makefile.am @@ -4,7 +4,10 @@ # we must not use CFLAGS here, gcc optimizations produce # bad code if we do so. -AM_CFLAGS = -O2 $(LIBFFMPEG_CFLAGS) +AM_CFLAGS = $(LIBFFMPEG_CFLAGS) +# CFLAGS is here to filter out -funroll-loops because it causes bad +# behavior of libavcodec +CFLAGS = `echo @CFLAGS@ | sed -e 's/-funroll-loops//g'` ASFLAGS = -- cgit v1.2.3