diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/libffmpeg/libavcodec/i386/Makefile.am | 5 |
1 files changed, 4 insertions, 1 deletions
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 = |